Remove unused variable from print_report() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)
Originally committed as revision 18566 to svn://svn.ffmpeg.org/ffmpeg/trunk

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 ",