]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvdec_mjpeg.c
avformat/mpegtsenc: move is_dvb_subtitle/is_dvb_teletext initialization upwards
[ffmpeg] / libavcodec / nvdec_mjpeg.c
index 7e404246cec7377900f85ccbae39bb6cf30684c9..be39d23bae34f5a8f74ef1a816733239bff44b2f 100644 (file)
@@ -66,7 +66,7 @@ static int nvdec_mjpeg_frame_params(AVCodecContext *avctx,
                                   AVBufferRef *hw_frames_ctx)
 {
     // Only need storage for the current frame
-    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 1);
+    return ff_nvdec_frame_params(avctx, hw_frames_ctx, 1, 0);
 }
 
 #if CONFIG_MJPEG_NVDEC_HWACCEL