Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-03 18:59:11 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-03 19:20:53 +0400
commit4d5d905eed1e18cd688c3305b115fb07a2f105f5 (patch)
treeb4a0448e5eaed040b7e400d4aedd01cbb52c1a75 /ffmpeg_opt.c
parente57dba0d52df7869a803f4b7e472d57aab1a1426 (diff)
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;
}