[FFmpeg-cvslog] ffmpeg: remove unsed variable nopts

Diego Biurrun git at videolan.org
Thu Aug 18 11:48:03 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Aug 17 15:35:42 2011 +0200| [f056fc2c6ce73267c7fcb15f1aad2c2109813fee] | committer: Diego Biurrun

ffmpeg: remove unsed variable nopts

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index 1443dd3..c4ac3f9 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -695,7 +695,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)
@@ -726,9 +725,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
             } else
                 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