summaryrefslogtreecommitdiff
path: root/media-sound/potamus/files/ffmpeg29.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/potamus/files/ffmpeg29.patch')
-rw-r--r--media-sound/potamus/files/ffmpeg29.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/media-sound/potamus/files/ffmpeg29.patch b/media-sound/potamus/files/ffmpeg29.patch
deleted file mode 100644
index 8565d7d3d99f..000000000000
--- a/media-sound/potamus/files/ffmpeg29.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: potamus-16/src/input-avcodec.c
-===================================================================
---- potamus-16.orig/src/input-avcodec.c
-+++ potamus-16/src/input-avcodec.c
-@@ -41,7 +41,7 @@ static int input_avcodec_open(input *p,
- g_error("out of memory");
- p->data = a;
-
-- a->frame = avcodec_alloc_frame();
-+ a->frame = av_frame_alloc();
-
- for (int pass = 0; pass < 2; pass++) {
- a->format = NULL;
-@@ -114,7 +114,7 @@ static int input_avcodec_get_audio(input
-
- // Decode the packet.
- while (packet.size > 0) {
-- avcodec_get_frame_defaults(a->frame);
-+ av_frame_unref(a->frame);
-
- int got_frame = 0;
- int in_used = avcodec_decode_audio4(a->codec_ctx,