diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /net/minidlna/files/patch-libav.h | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net/minidlna/files/patch-libav.h')
| -rw-r--r-- | net/minidlna/files/patch-libav.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/minidlna/files/patch-libav.h b/net/minidlna/files/patch-libav.h new file mode 100644 index 000000000000..461d5d5eb43b --- /dev/null +++ b/net/minidlna/files/patch-libav.h @@ -0,0 +1,14 @@ +--- libav.h.orig 2025-07-25 01:55:58 UTC ++++ libav.h +@@ -174,7 +174,11 @@ 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 ++#if LIBAVUTIL_VERSION_MAJOR >= 59 ++#define lav_channels(s) s->codecpar->ch_layout.nb_channels ++#else + #define lav_channels(s) s->codecpar->channels ++#endif + #define lav_width(s) s->codecpar->width + #define lav_height(s) s->codecpar->height + #define lav_profile(s) s->codecpar->profile |
