summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-21 13:35:22 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-21 13:49:32 +0200
commita0b92788a885f4a424d74e04b942ade0cca25403 (patch)
tree5813fe2d1fe52a9650a84a035dafb2cb6c25f3ff /libavformat
parent0de99ab06f707e71a3c3bb30083d1cc324ba9c26 (diff)
downloadffmpeg-streaming-a0b92788a885f4a424d74e04b942ade0cca25403.zip
ffmpeg-streaming-a0b92788a885f4a424d74e04b942ade0cca25403.tar.gz
avformat/utils: Remove use of caps_internal as it is not public API
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index b43cfb1..566c7b8 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;
OpenPOWER on IntegriCloud