All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/18] package/freeswitch: fix build with ffmpeg 6.0
@ 2024-04-06  7:31 Bernd Kuhls
  2024-04-06  7:32 ` [Buildroot] [PATCH 02/18] package/ffmpeg: bump version to 6.1.1 Bernd Kuhls
                   ` (16 more replies)
  0 siblings, 17 replies; 30+ messages in thread
From: Bernd Kuhls @ 2024-04-06  7:31 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Mahyar Koshkouei, Yann E . MORIN, Julien Corjon

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 ...002-mod_av-fix-build-with-ffmpeg-6.0.patch | 48 +++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 package/freeswitch/0002-mod_av-fix-build-with-ffmpeg-6.0.patch

diff --git a/package/freeswitch/0002-mod_av-fix-build-with-ffmpeg-6.0.patch b/package/freeswitch/0002-mod_av-fix-build-with-ffmpeg-6.0.patch
new file mode 100644
index 0000000000..bd38d76d85
--- /dev/null
+++ b/package/freeswitch/0002-mod_av-fix-build-with-ffmpeg-6.0.patch
@@ -0,0 +1,48 @@
+From 2e75bb8b2c7f70c5d16c9e3d14b1427f4eb80c9c Mon Sep 17 00:00:00 2001
+From: Korynkai <matt@qmxtech.com>
+Date: Thu, 17 Aug 2023 21:10:31 +0200
+Subject: [PATCH] mod_av: fix build with ffmpeg 6.0
+
+Upstream: https://github.com/signalwire/freeswitch/issues/2202
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ src/mod/applications/mod_av/avformat.c | 2 ++
+ src/mod/applications/mod_av/mod_av.h   | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c
+index 69475c169f..0a1662aed6 100644
+--- a/src/mod/applications/mod_av/avformat.c
++++ b/src/mod/applications/mod_av/avformat.c
+@@ -455,6 +455,7 @@ static int mod_avformat_alloc_output_context2(AVFormatContext **avctx, const cha
+ 	}
+ 
+ 	s->oformat = oformat;
++#if (LIBAVFORMAT_VERSION_MAJOR < LIBAVFORMAT_N)
+ 	if (s->oformat->priv_data_size > 0) {
+ 		s->priv_data = av_mallocz(s->oformat->priv_data_size);
+ 		if (!s->priv_data) {
+@@ -468,6 +469,7 @@ static int mod_avformat_alloc_output_context2(AVFormatContext **avctx, const cha
+ 	} else {
+ 		s->priv_data = NULL;
+ 	}
++#endif
+ 
+ 	if (filename) {
+ #if (LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,7,100))
+diff --git a/src/mod/applications/mod_av/mod_av.h b/src/mod/applications/mod_av/mod_av.h
+index a89e6cb8f7..ef9bd48d73 100644
+--- a/src/mod/applications/mod_av/mod_av.h
++++ b/src/mod/applications/mod_av/mod_av.h
+@@ -42,6 +42,7 @@
+ 
+ #define LIBAVCODEC_V 59
+ #define LIBAVFORMAT_V 59
++#define LIBAVFORMAT_N 60
+ #define LIBAVUTIL_V 57
+ 
+ struct mod_av_globals {
+-- 
+2.39.2
+
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-04-07 11:40 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-06  7:31 [Buildroot] [PATCH 01/18] package/freeswitch: fix build with ffmpeg 6.0 Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 02/18] package/ffmpeg: bump version to 6.1.1 Bernd Kuhls
2024-04-07  9:25   ` Yann E. MORIN
     [not found]   ` <ZhJmcptsEo41MP6G__17866.991232016$1712481939$gmane$org@landeda>
2024-04-07 10:42     ` Bernd Kuhls
2024-04-07 11:24       ` Yann E. MORIN
2024-04-07 11:32         ` Bernd Kuhls
2024-04-07 11:32           ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 03/18] package/ffmpeg: add optional support for libvpl Bernd Kuhls
2024-04-07  9:29   ` Yann E. MORIN
     [not found]   ` <ZhJnXDUGI80K38Np__8173.33832835487$1712482171$gmane$org@landeda>
2024-04-07 10:41     ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 04/18] package/bento4: bump version to 1.6.0-641-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 05/18] package/kodi: bump version to 21.0-Omega Bernd Kuhls
2024-04-07  9:52   ` Yann E. MORIN
     [not found]   ` <ZhJs8G5Uyf0Rs4ai__34546.5504725993$1712483606$gmane$org@landeda>
2024-04-07 11:29     ` Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 06/18] package/kodi-audiodecoder-*: mass version bump to Omega Bernd Kuhls
2024-04-07  9:57   ` Yann E. MORIN
     [not found]   ` <ZhJuDnF5x2UviN68__14164.349895303$1712483892$gmane$org@landeda>
2024-04-07 10:40     ` Bernd Kuhls
2024-04-07 11:19       ` Yann E. MORIN
2024-04-06  7:32 ` [Buildroot] [PATCH 07/18] package/kodi-audioencoder-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 08/18] package/kodi-imagedecoder-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 09/18] package/kodi-inputstream-adaptive: bump version to 21.4.4-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 10/18] package/kodi-inputstream-ffmpegdirect: bump version to 21.3.5-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 11/18] package/kodi-inputstream-rtmp: bump version to 21.1.0-Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 12/18] package/kodi-peripheral-*: mass version bump to Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 13/18] package/kodi-pvr-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 14/18] package/kodi-screensaver-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 15/18] package/kodi-skin-confluence: bump version Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 16/18] package/kodi-vfs-*: mass version bump to Omega Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 17/18] package/kodi-visualisation-*: " Bernd Kuhls
2024-04-06  7:32 ` [Buildroot] [PATCH 18/18] package/kodi: add optional support for pipewire Bernd Kuhls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.