summaryrefslogtreecommitdiff
path: root/minidlna/ffmpeg7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'minidlna/ffmpeg7.patch')
-rw-r--r--minidlna/ffmpeg7.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/minidlna/ffmpeg7.patch b/minidlna/ffmpeg7.patch
new file mode 100644
index 0000000..806a2fa
--- /dev/null
+++ b/minidlna/ffmpeg7.patch
@@ -0,0 +1,14 @@
+diff --git a/libav.h b/libav.h
+index b69752c..aed9d18 100644
+--- a/libav.h
++++ b/libav.h
+@@ -174,7 +174,7 @@ lav_get_interlaced(AVStream *s)
+ #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->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
+

Generated by cgit