commit d474496

hovercats  ·  2024-05-13 07:22:50 +0000 UTC
parent 98b0a44
cmus: 1.11.0
5 files changed,  +4, -33
+1, -2
1@@ -1,3 +1,2 @@
2-52dfb2d883397bd347b9db23853b973f05bf7d67ba8953f71342a5dd44f5358e06
3-946c2a021f9d021dbaa1bd8bb197fe9a6dad90f17cd7e7696bdd48719a247764fe
4+3537dde959f1da4ac91b68737d5b24bb447b7714c6f0b1a38fa1a961b98ca1db86
5 5b3ce4eb81e7f6c80f007f37d304bec9fb9a29658fe7afd492dca6f89afc4ae218
+0, -27
 1@@ -1,27 +0,0 @@
 2-From 07ce2dc7082a1ed8704c21fd3f2877c8ba6b12f9 Mon Sep 17 00:00:00 2001
 3-From: Gavin Troy <gavin@cantlogout.com>
 4-Date: Sun, 16 Apr 2023 22:32:52 +0100
 5-Subject: [PATCH] Remove AV_CODEC_{CAP,FLAG}_TRUNCATED for FFmpeg 6
 6- compatibility
 7-
 8----
 9- ip/ffmpeg.c | 3 ---
10- 1 file changed, 3 deletions(-)
11-
12-diff --git a/ip/ffmpeg.c b/ip/ffmpeg.c
13-index 09ed3fc..ea0b26f 100644
14---- a/ip/ffmpeg.c
15-+++ b/ip/ffmpeg.c
16-@@ -202,9 +202,6 @@ static int ffmpeg_open(struct input_plugin_data *ip_data)
17- 			break;
18- 		}
19- 
20--		if (codec->capabilities & AV_CODEC_CAP_TRUNCATED)
21--			cc->flags |= AV_CODEC_FLAG_TRUNCATED;
22--
23- 		if (avcodec_open2(cc, codec, NULL) < 0) {
24- 			d_print("could not open codec: %d, %s\n", cc->codec_id, avcodec_get_name(cc->codec_id));
25- 			err = -IP_ERROR_UNSUPPORTED_FILE_TYPE;
26--- 
27-2.44.0
28-
R repo/cmus/patches/0002-fix-incompability-with-netbsd-curses.patch => repo/cmus/patches/0001-fix-incompability-with-netbsd-curses.patch
+0, -0
+2, -3
1@@ -1,3 +1,2 @@
2-https://github.com/cmus/cmus/archive/v2.10.0.tar.gz
3-patches/0001-Remove-AV_CODEC_-CAP-FLAG-_TRUNCATED-for-FFmpeg-6-co.patch
4-patches/0002-fix-incompability-with-netbsd-curses.patch
5+https://github.com/cmus/cmus/archive/v2.11.0.tar.gz
6+patches/0001-fix-incompability-with-netbsd-curses.patch
+1, -1
1@@ -1 +1 @@
2-2.10.0 3
3+2.11.0 1