From ad65717c8aa98fd57817aa1cb772b6e673d95346 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 3 Oct 2023 23:02:51 -0400 Subject: remove deprecated patch --- makemkv-oss/debian/changelog | 1 + .../debian/patches/missing-av_mallocz_array.patch | 18 ------------------ makemkv-oss/debian/patches/series | 1 - 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 makemkv-oss/debian/patches/missing-av_mallocz_array.patch diff --git a/makemkv-oss/debian/changelog b/makemkv-oss/debian/changelog index 6f8261b..db21cb5 100644 --- a/makemkv-oss/debian/changelog +++ b/makemkv-oss/debian/changelog @@ -6,6 +6,7 @@ makemkv-oss (1.17.5-1+stackrpms) obs; urgency=low * Fixed Linux ARM64 executabe crashing on certain hardware configurations * Small improvements and bugfixes + * Remove patch for av_mallocz_array -- B. Stack Tue, 03 Oct 2023 20:20:26 -0400 diff --git a/makemkv-oss/debian/patches/missing-av_mallocz_array.patch b/makemkv-oss/debian/patches/missing-av_mallocz_array.patch deleted file mode 100644 index 86a56f0..0000000 --- a/makemkv-oss/debian/patches/missing-av_mallocz_array.patch +++ /dev/null @@ -1,18 +0,0 @@ -Author: junknot -Origin: https://build.opensuse.org/package/show/home:junknot/makemkv -Reference: https://forum.makemkv.com/forum/viewtopic.php?f=3&p=132993 -Version: 1.17.4 -Message: FFmpeg deprecated a function call name. -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); diff --git a/makemkv-oss/debian/patches/series b/makemkv-oss/debian/patches/series index ce8f4e2..e69de29 100644 --- a/makemkv-oss/debian/patches/series +++ b/makemkv-oss/debian/patches/series @@ -1 +0,0 @@ -missing-av_mallocz_array.patch -p1 -- cgit