]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_h264.c
Fix compilation error around struct visibility when VDPAU disabled.
[ffmpeg] / libavcodec / vdpau_h264.c
index b4aac8764b4761aa75e176686cb00effc00f8eaa..05a41d040261e8e953a49773bd3eead7e1461ed9 100644 (file)
@@ -234,5 +234,5 @@ AVHWAccel ff_h264_vdpau_hwaccel = {
     .start_frame    = vdpau_h264_start_frame,
     .end_frame      = vdpau_h264_end_frame,
     .decode_slice   = vdpau_h264_decode_slice,
-    .priv_data_size = sizeof(struct vdpau_picture_context),
+    .frame_priv_data_size = sizeof(struct vdpau_picture_context),
 };