summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/alsa-plugins/files')
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch11
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch13
-rw-r--r--media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch38
3 files changed, 0 insertions, 62 deletions
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch
deleted file mode 100644
index 12acbbca1dcd..000000000000
--- a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.19-missing-avutil.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in_old 2009-01-26 21:46:07.000000000 +0100
-+++ configure.in 2009-01-26 21:47:25.000000000 +0100
-@@ -67,7 +67,7 @@
- AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)]))
-
- if test "x$enable_avcodec" != "xno"; then
-- PKG_CHECK_MODULES(AVCODEC, [libavcodec], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
-+ PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
- fi
-
- if test "x$HAVE_AVCODEC" = "xno"; then
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch
deleted file mode 100644
index 6b9b698471d2..000000000000
--- a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg-version-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: alsa-plugins-1.0.27/a52/pcm_a52.c
-===================================================================
---- alsa-plugins-1.0.27.orig/a52/pcm_a52.c
-+++ alsa-plugins-1.0.27/a52/pcm_a52.c
-@@ -27,7 +27,7 @@
- #include <alsa/pcm_plugin.h>
- #include AVCODEC_HEADER
-
--#if LIBAVCODEC_VERSION_MAJOR >= 53 && LIBAVCODEC_VERSION_MINOR >= 34
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,34,0)
- #include <libavutil/audioconvert.h>
- #include <libavutil/mem.h>
- #define USE_AVCODEC_FRAME
diff --git a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch b/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch
deleted file mode 100644
index 56f51e35a9c9..000000000000
--- a/media-plugins/alsa-plugins/files/alsa-plugins-1.0.27-ffmpeg.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 367e208954711fabe159070d242927246ed821cd Mon Sep 17 00:00:00 2001
-From: Anton Khirnov <anton@khirnov.net>
-Date: Thu, 9 Jan 2014 21:14:17 +0100
-Subject: [PATCH] a52: switch to AV_CODEC_ID identifiers
-
-Fixes build with latest libavcodec versions.
-
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
----
- a52/pcm_a52.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c
-index 359608f..b467ec8 100644
---- a/a52/pcm_a52.c
-+++ b/a52/pcm_a52.c
-@@ -58,6 +58,9 @@
- #endif
- #endif
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 25, 0)
-+#define AV_CODEC_ID_AC3 CODEC_ID_AC3
-+#endif
-
- struct a52_ctx {
- snd_pcm_ioplug_t io;
-@@ -916,7 +919,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52)
- if (rec->codec == NULL)
- rec->codec = avcodec_find_encoder_by_name("ac3");
- if (rec->codec == NULL)
-- rec->codec = avcodec_find_encoder(CODEC_ID_AC3);
-+ rec->codec = avcodec_find_encoder(AV_CODEC_ID_AC3);
- if (rec->codec == NULL) {
- SNDERR("Cannot find codec engine");
- err = -EINVAL;
---
-1.7.11.7
-