]> git.sesse.net Git - ffmpeg/blobdiff - tests/api/api-codec-param-test.c
Merge commit 'f2422b58756ba97e3cbadc190f1ed950aa201ec7'
[ffmpeg] / tests / api / api-codec-param-test.c
index fa51964bbda91e23575202d7bc191058c44e9ec5..377a5e9c793efd6616a5c048d0bf6a9ae6b56e46 100644 (file)
@@ -50,7 +50,7 @@ static int try_decode_video_frame(AVCodecContext *codec_ctx, AVPacket *pkt, int
         goto end;
     }
 
-    if (!decode && codec_ctx->codec->caps_internal & FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM) {
+    if (!decode && avpriv_codec_get_cap_skip_frame_fill_param(codec_ctx->codec)) {
         codec_ctx->skip_frame = AVDISCARD_ALL;
     }