summaryrefslogtreecommitdiff
path: root/pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2023-03-17 13:04:43 -0700
committerMichael Forney <mforney@mforney.org>2023-03-17 23:35:23 -0700
commita129a63f93b5f7d756e8a2082dc9db47d07c57cb (patch)
tree53de3b7980747085dd30dd1fcbc07f33ffaa9953 /pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch
parent8eba2dc601580585ef34be71774202fd96a3d235 (diff)
mpv: Update to 0.35.1
Diffstat (limited to 'pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch')
-rw-r--r--pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch b/pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch
deleted file mode 100644
index c2ece309..00000000
--- a/pkg/mpv/patch/0008-audio-replace-deprecated-av_mallocz_array.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 7c2361dbc8ceabc1b3edf9e585ccd4e80dd83ea8 Mon Sep 17 00:00:00 2001
-From: sfan5 <sfan5@live.de>
-Date: Sat, 30 Oct 2021 17:11:46 +0200
-Subject: [PATCH] audio: replace deprecated av_mallocz_array
-
----
- audio/aframe.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/audio/aframe.c b/audio/aframe.c
-index c2c0df7c9b..46264b692e 100644
---- a/audio/aframe.c
-+++ b/audio/aframe.c
-@@ -637,7 +637,7 @@ int mp_aframe_pool_allocate(struct mp_aframe_pool *pool, struct mp_aframe *frame
- av_freep(&av_frame->extended_data); // sigh
- if (planes > AV_NUM_DATA_POINTERS) {
- av_frame->extended_data =
-- av_mallocz_array(planes, sizeof(av_frame->extended_data[0]));
-+ av_calloc(planes, sizeof(av_frame->extended_data[0]));
- if (!av_frame->extended_data)
- abort();
- } else {
---
-2.37.3
-