aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-03 16:59:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-03 17:20:53 +0200
commit4d5d905eed1e18cd688c3305b115fb07a2f105f5 (patch)
treeb4a0448e5eaed040b7e400d4aedd01cbb52c1a75 /ffmpeg_opt.c
parente57dba0d52df7869a803f4b7e472d57aab1a1426 (diff)
downloadffmpeg-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.c2
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;
}