aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-08-12 11:23:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-08-12 11:23:44 +0800
commita8afc9357aa16d88d3adb3f2a5d2987841285ed2 (patch)
tree9fa8937de0e02031cd2cba0c82165812a38ada7b
parente3356e21730aa57cbbde7ac8cdf5feadf2a788d6 (diff)
downloadfreebsd-ports-gnome-a8afc9357aa16d88d3adb3f2a5d2987841285ed2.tar.gz
freebsd-ports-gnome-a8afc9357aa16d88d3adb3f2a5d2987841285ed2.tar.zst
freebsd-ports-gnome-a8afc9357aa16d88d3adb3f2a5d2987841285ed2.zip
- Fix with ffmpeg 0.5
PR: 137669 Submitted by: Martin Matuska <mm@FreeBSD.org>
-rw-r--r--multimedia/avbin/Makefile1
-rw-r--r--multimedia/avbin/files/patch-src-avbin.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/avbin/Makefile b/multimedia/avbin/Makefile
index a6846ebda87b..a1bbb0990cb3 100644
--- a/multimedia/avbin/Makefile
+++ b/multimedia/avbin/Makefile
@@ -7,6 +7,7 @@
PORTNAME= avbin
PORTVERSION= 7
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://mirror.amdmi3.ru/distfiles/
diff --git a/multimedia/avbin/files/patch-src-avbin.c b/multimedia/avbin/files/patch-src-avbin.c
new file mode 100644
index 000000000000..8a0ead8622aa
--- /dev/null
+++ b/multimedia/avbin/files/patch-src-avbin.c
@@ -0,0 +1,13 @@
+--- src/avbin.c.orig 2008-09-21 08:45:33.000000000 +0200
++++ src/avbin.c 2009-08-11 15:02:52.574916144 +0200
+@@ -215,10 +237,6 @@
+ info->audio.sample_format = AVBIN_SAMPLE_FORMAT_S16;
+ info->audio.sample_bits = 16;
+ break;
+- case SAMPLE_FMT_S24:
+- info->audio.sample_format = AVBIN_SAMPLE_FORMAT_S24;
+- info->audio.sample_bits = 24;
+- break;
+ case SAMPLE_FMT_S32:
+ info->audio.sample_format = AVBIN_SAMPLE_FORMAT_S32;
+ info->audio.sample_bits = 32;