Commit a0b92788 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/utils: Remove use of caps_internal as it is not public API

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0de99ab0
...@@ -2879,7 +2879,7 @@ static int try_decode_frame(AVFormatContext *s, AVStream *st, AVPacket *avpkt, ...@@ -2879,7 +2879,7 @@ static int try_decode_frame(AVFormatContext *s, AVStream *st, AVPacket *avpkt,
goto fail; 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; do_skip_frame = 1;
skip_frame = avctx->skip_frame; skip_frame = avctx->skip_frame;
avctx->skip_frame = AVDISCARD_ALL; avctx->skip_frame = AVDISCARD_ALL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment