浏览代码

Remove unused variable from print_report() found by CSA.

Originally committed as revision 18566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer 16 年之前
父节点
当前提交
b5ee9c2334
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      ffmpeg.c

+ 1 - 2
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 ",