OSDN Git Service

avformat/utils: Remove use of caps_internal as it is not public API
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Apr 2016 11:35:22 +0000 (13:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Apr 2016 11:49:32 +0000 (13:49 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/utils.c

index b43cfb1..566c7b8 100644 (file)
@@ -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;