upgrade to ffmpeg 4.2, rework mask for speedup
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / ffmpeg-4.2.patch6
diff --git a/cinelerra-5.1/thirdparty/src/ffmpeg-4.2.patch6 b/cinelerra-5.1/thirdparty/src/ffmpeg-4.2.patch6
new file mode 100644 (file)
index 0000000..e89e2b6
--- /dev/null
@@ -0,0 +1,11 @@
+diff -ru a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c
+--- a/libavcodec/vdpau_mpeg12.c        2019-07-08 11:45:25.000000000 -0600
++++ b/libavcodec/vdpau_mpeg12.c        2019-08-08 18:20:33.488773439 -0600
+@@ -114,6 +114,7 @@
+     .frame_priv_data_size = sizeof(struct vdpau_picture_context),
+     .init           = vdpau_mpeg1_init,
+     .uninit         = ff_vdpau_common_uninit,
++    .frame_params   = ff_vdpau_common_frame_params,
+     .priv_data_size = sizeof(VDPAUContext),
+     .caps_internal  = HWACCEL_CAP_ASYNC_SAFE,
+ };