]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvdec_vp9.c
avdevice: Constify all devices
[ffmpeg] / libavcodec / nvdec_vp9.c
index 3b665a9bc701cf1d74205a95360e15e25d0837cf..a76bcf994331816066904351d91c51c3e4bed3ca 100644 (file)
@@ -166,7 +166,7 @@ static int nvdec_vp9_frame_params(AVCodecContext *avctx,
                                   AVBufferRef *hw_frames_ctx)
 {
     // VP9 uses a fixed size pool of 8 possible reference frames
-    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 8);
+    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 8, 0);
 }
 
 const AVHWAccel ff_vp9_nvdec_hwaccel = {