[FFmpeg-cvslog] avformat/utils: Remove use of caps_internal as it is not public API

Michael Niedermayer git at videolan.org
Thu Apr 21 14:02:04 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Apr 21 13:35:22 2016 +0200| [a0b92788a885f4a424d74e04b942ade0cca25403] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0b92788a885f4a424d74e04b942ade0cca25403
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list