Merge pull request #9583 from heitbaum/minidlna

minidlna: rebuild with ffmpeg-7.1 and addon (2)
This commit is contained in:
knaerzche 2024-12-22 23:07:08 +01:00 committed by GitHub
commit be14964723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PKG_NAME="minidlna"
PKG_VERSION="1.3.3"
PKG_SHA256="39026c6d4a139b9180192d1c37225aa3376fdf4f1a74d7debbdbb693d996afa4"
PKG_REV="1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="BSD-3c/GPLv2"
PKG_SITE="https://sourceforge.net/projects/minidlna/"

View File

@ -0,0 +1,13 @@
--- a/libav.h 2023-05-31 09:25:59.000000000 +0100
+++ b/libav.h 2024-11-30 21:51:58.063500472 +0000
@@ -174,7 +174,9 @@
#define lav_codec_tag(s) s->codecpar->codec_tag
#define lav_sample_rate(s) s->codecpar->sample_rate
#define lav_bit_rate(s) s->codecpar->bit_rate
-#define lav_channels(s) s->codecpar->channels
+/* #define lav_channels(s) s->codecpar->channels */
+/* ffmpeg 7 */
+#define lav_channels(s) s->codecpar->ch_layout.nb_channels
#define lav_width(s) s->codecpar->width
#define lav_height(s) s->codecpar->height
#define lav_profile(s) s->codecpar->profile