diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-15 18:26:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-16 06:24:01 +0200 |
commit | 2c81d5f4c5f5c4e4ddccdc0b9ab4eaf7aacdeb2c (patch) | |
tree | 2e834de4678c8e99d977f13d1f07867eefc78c5d | |
parent | 40fc2810873e3dad2640d6e4cce82343c6e6b21a (diff) | |
download | ffmpeg-2c81d5f4c5f5c4e4ddccdc0b9ab4eaf7aacdeb2c.tar.gz |
avconv: remove a write-only variable
-rw-r--r-- | avconv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); |