[FFmpeg-cvslog] avconv: remove a write-only variable

Anton Khirnov git at videolan.org
Wed Aug 17 00:06:33 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Aug 15 18:26:56 2011 +0200| [2c81d5f4c5f5c4e4ddccdc0b9ab4eaf7aacdeb2c] | committer: Anton Khirnov

avconv: remove a write-only variable

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c81d5f4c5f5c4e4ddccdc0b9ab4eaf7aacdeb2c
---

 avconv.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/avconv.c b/avconv.c
index 67f8f22..7be6804 100644
--- a/avconv.c
+++ b/avconv.c
@@ -3396,7 +3396,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
 {
     int i, err;
     AVFormatContext *ic = NULL;
-    int nopts = 0;
 
     err = avformat_open_input(&ic, filename, NULL, NULL);
     if (err < 0)
@@ -3420,9 +3419,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
             choose_sample_fmt(st, codec);
         else if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO && !st->stream_copy)
             choose_pixel_fmt(st, codec);
-
-        if(st->codec->flags & CODEC_FLAG_BITEXACT)
-            nopts = 1;
     }
 
     av_close_input_file(ic);



More information about the ffmpeg-cvslog mailing list