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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/37/merge
Michael Niedermayer 11 years ago
parent e57dba0d52
commit 4d5d905eed
  1. 2
      ffmpeg_opt.c

@ -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;
}

Loading…
Cancel
Save