summaryrefslogtreecommitdiff
path: root/media-video/makemkv/files/makemkv-ffmpeg-6.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-10 22:28:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-10 22:28:10 +0100
commitf2a91413828611d85d0496e98e1656e9b0e4528b (patch)
treeb3998888d687ece7d9aabfa86c9b449e5438a513 /media-video/makemkv/files/makemkv-ffmpeg-6.patch
parentb98a1d0a0651765f29a8aeab25f904e730dfbf88 (diff)
gentoo auto-resync : 10:07:2023 - 22:28:10
Diffstat (limited to 'media-video/makemkv/files/makemkv-ffmpeg-6.patch')
-rw-r--r--media-video/makemkv/files/makemkv-ffmpeg-6.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/makemkv/files/makemkv-ffmpeg-6.patch b/media-video/makemkv/files/makemkv-ffmpeg-6.patch
new file mode 100644
index 000000000000..684d8186bab5
--- /dev/null
+++ b/media-video/makemkv/files/makemkv-ffmpeg-6.patch
@@ -0,0 +1,13 @@
+diff --git a/libffabi/src/ffabi.c b/libffabi/src/ffabi.c
+index 5dda9e1..2b29b87 100644
+--- a/libffabi/src/ffabi.c
++++ b/libffabi/src/ffabi.c
+@@ -478,7 +478,7 @@ FFM_AudioEncodeContext* __cdecl ffm_audio_encode_init(void* logctx,const char* n
+ #else
+ ctx->frame = av_frame_alloc();
+ if (av_sample_fmt_is_planar(ctx->avctx->sample_fmt)) {
+- ctx->frame_extended_data = av_mallocz_array(ctx->avctx->channels,
++ ctx->frame_extended_data = av_calloc(ctx->avctx->channels,
+ sizeof(*ctx->frame_extended_data));
+ if (!ctx->frame_extended_data) {
+ ffm_audio_encode_close(ctx);