diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-03 16:59:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-03 17:20:53 +0200 |
commit | 4d5d905eed1e18cd688c3305b115fb07a2f105f5 (patch) | |
tree | b4a0448e5eaed040b7e400d4aedd01cbb52c1a75 /ffmpeg_opt.c | |
parent | e57dba0d52df7869a803f4b7e472d57aab1a1426 (diff) | |
download | ffmpeg-4d5d905eed1e18cd688c3305b115fb07a2f105f5.tar.gz |
ffmpeg: avoid direct access to lowres use av_codec_g/set_lowres()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a542b8d67e..59470f5588 100644 --- a/ffmpeg_opt.c +++ b/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; } |