]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvdec_vc1.c
avfilter/vf_identity: fix typo
[ffmpeg] / libavcodec / nvdec_vc1.c
index 7257692d66a35d67b2568d5c180b0d1e239a792d..10e7b5ab0d74cf67dce43107da5653ba02dd89e7 100644 (file)
@@ -107,7 +107,7 @@ static int nvdec_vc1_frame_params(AVCodecContext *avctx,
                                   AVBufferRef *hw_frames_ctx)
 {
     // Each frame can at most have one P and one B reference
-    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 2);
+    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 2, 0);
 }
 
 const AVHWAccel ff_vc1_nvdec_hwaccel = {