Commit 4d5d905e authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: avoid direct access to lowres use av_codec_g/set_lowres()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e57dba0d
......@@ -592,7 +592,7 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
case AVMEDIA_TYPE_VIDEO:
if(!ist->dec)
ist->dec = avcodec_find_decoder(dec->codec_id);
if (dec->lowres) {
if (av_codec_get_lowres(dec)) {
dec->flags |= CODEC_FLAG_EMU_EDGE;
}
......
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