Commit 2c81d5f4 authored by Anton Khirnov's avatar Anton Khirnov

avconv: remove a write-only variable

parent 40fc2810
...@@ -3396,7 +3396,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename) ...@@ -3396,7 +3396,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
{ {
int i, err; int i, err;
AVFormatContext *ic = NULL; AVFormatContext *ic = NULL;
int nopts = 0;
err = avformat_open_input(&ic, filename, NULL, NULL); err = avformat_open_input(&ic, filename, NULL, NULL);
if (err < 0) if (err < 0)
...@@ -3420,9 +3419,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename) ...@@ -3420,9 +3419,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
choose_sample_fmt(st, codec); choose_sample_fmt(st, codec);
else if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO && !st->stream_copy) else if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO && !st->stream_copy)
choose_pixel_fmt(st, codec); choose_pixel_fmt(st, codec);
if(st->codec->flags & CODEC_FLAG_BITEXACT)
nopts = 1;
} }
av_close_input_file(ic); av_close_input_file(ic);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment