From: Michael Niedermayer Date: Thu, 21 Apr 2016 11:35:22 +0000 (+0200) Subject: avformat/utils: Remove use of caps_internal as it is not public API X-Git-Tag: android-x86-7.1-r1~5525 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a0b92788a885f4a424d74e04b942ade0cca25403;p=android-x86%2Fexternal-ffmpeg.git avformat/utils: Remove use of caps_internal as it is not public API Signed-off-by: Michael Niedermayer --- diff --git a/libavformat/utils.c b/libavformat/utils.c index b43cfb1eee..566c7b811d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2879,7 +2879,7 @@ static int try_decode_frame(AVFormatContext *s, AVStream *st, AVPacket *avpkt, goto fail; } - if (avctx->codec->caps_internal & FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM) { + if (avpriv_codec_get_cap_skip_frame_fill_param(avctx->codec)) { do_skip_frame = 1; skip_frame = avctx->skip_frame; avctx->skip_frame = AVDISCARD_ALL;