]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_h264.c
avcodec/h264, videotoolbox: return AVERROR_INVALIDDATA when no frames are produced
[ffmpeg] / libavcodec / vdpau_h264.c
index be6ba7143334883d4270a56025f615b3fbb31ac5..70f83d76f50a5aded3bfedad720199f7211eb958 100644 (file)
@@ -273,6 +273,7 @@ AVHWAccel ff_h264_vdpau_hwaccel = {
     .frame_priv_data_size = sizeof(struct vdpau_picture_context),
     .init           = vdpau_h264_init,
     .uninit         = ff_vdpau_common_uninit,
+    .frame_params   = ff_vdpau_common_frame_params,
     .priv_data_size = sizeof(VDPAUContext),
     .caps_internal  = HWACCEL_CAP_ASYNC_SAFE,
 };