]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove unused variable from print_report() found by CSA.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffmpeg.c

index 038837bbf4ca5cbb26a5baf32df579fa7e09d33b..ce2f98115497526ce0aeaeb053c1316766ad1eb5 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1061,7 +1061,7 @@ static void print_report(AVFormatContext **output_files,
 {
     char buf[1024];
     AVOutputStream *ost;
-    AVFormatContext *oc, *os;
+    AVFormatContext *oc;
     int64_t total_size;
     AVCodecContext *enc;
     int frame_number, vid, i;
@@ -1094,7 +1094,6 @@ static void print_report(AVFormatContext **output_files,
     vid = 0;
     for(i=0;i<nb_ostreams;i++) {
         ost = ost_table[i];
-        os = output_files[ost->file_index];
         enc = ost->st->codec;
         if (vid && enc->codec_type == CODEC_TYPE_VIDEO) {
             snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "q=%2.1f ",