summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec_vp8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/nvdec_vp8.c')
-rw-r--r--libavcodec/nvdec_vp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvdec_vp8.c b/libavcodec/nvdec_vp8.c
index 7b37445613..9c4608d8cf 100644
--- a/libavcodec/nvdec_vp8.c
+++ b/libavcodec/nvdec_vp8.c
@@ -87,7 +87,7 @@ static int nvdec_vp8_frame_params(AVCodecContext *avctx,
AVBufferRef *hw_frames_ctx)
{
// VP8 uses a fixed size pool of 3 possible reference frames
- return ff_nvdec_frame_params(avctx, hw_frames_ctx, 3);
+ return ff_nvdec_frame_params(avctx, hw_frames_ctx, 3, 0);
}
AVHWAccel ff_vp8_nvdec_hwaccel = {