mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
ffmpeg: remove unsed variable nopts
This commit is contained in:
parent
91e209d720
commit
f056fc2c6c
4
ffmpeg.c
4
ffmpeg.c
@ -695,7 +695,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)
|
||||||
@ -726,9 +725,6 @@ static int read_avserver_streams(AVFormatContext *s, const char *filename)
|
|||||||
} else
|
} else
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user