mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
avconv: remove a write-only variable
This commit is contained in:
parent
40fc281087
commit
2c81d5f4c5
4
avconv.c
4
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);
|
||||
|
Loading…
Reference in New Issue
Block a user