summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-08-17 15:35:42 +0200
committerDiego Biurrun <diego@biurrun.de>2011-08-17 15:35:42 +0200
commitf056fc2c6ce73267c7fcb15f1aad2c2109813fee (patch)
tree637604263fabd9d84073e1f1ac7710ec0b8a35b2 /ffmpeg.c
parent91e209d720abf9f2851dc606859ab83c405591b1 (diff)
ffmpeg: remove unsed variable nopts
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1443dd3dc8..c4ac3f9f62 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);