[vlc-commits] contrib: a52: remove scary dummy error messages
Rémi Denis-Courmont
git at videolan.org
Mon Feb 6 18:42:39 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 6 19:42:16 2012 +0200| [a8ad08b24825b310d10bbc9846ad0a7000c418b4] | committer: Rémi Denis-Courmont
contrib: a52: remove scary dummy error messages
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8ad08b24825b310d10bbc9846ad0a7000c418b4
---
contrib/src/a52/liba52-silence.patch | 17 +++++++++++++++++
contrib/src/a52/rules.mak | 1 +
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/contrib/src/a52/liba52-silence.patch b/contrib/src/a52/liba52-silence.patch
new file mode 100644
index 0000000..a739966
--- /dev/null
+++ b/contrib/src/a52/liba52-silence.patch
@@ -0,0 +1,17 @@
+diff -ru a52dec.orig/liba52/imdct.c a52dec/liba52/imdct.c
+--- a52dec.orig/liba52/imdct.c 2012-02-06 19:40:21.000000000 +0200
++++ a52dec/liba52/imdct.c 2012-02-06 19:40:53.000000000 +0200
+@@ -419,13 +419,11 @@
+
+ #ifdef LIBA52_DJBFFT
+ if (mm_accel & MM_ACCEL_DJBFFT) {
+- fprintf (stderr, "Using djbfft for IMDCT transform\n");
+ ifft128 = (void (*) (complex_t *)) fftc4_un128;
+ ifft64 = (void (*) (complex_t *)) fftc4_un64;
+ } else
+ #endif
+ {
+- fprintf (stderr, "No accelerated IMDCT transform found\n");
+ ifft128 = ifft128_c;
+ ifft64 = ifft64_c;
+ }
diff --git a/contrib/src/a52/rules.mak b/contrib/src/a52/rules.mak
index a0c9d71..36546ae 100644
--- a/contrib/src/a52/rules.mak
+++ b/contrib/src/a52/rules.mak
@@ -13,6 +13,7 @@ $(TARBALLS)/a52dec-$(A52DEC_VERSION).tar.gz:
a52dec: a52dec-$(A52DEC_VERSION).tar.gz .sum-a52
$(UNPACK)
$(APPLY) $(SRC)/a52/liba52-pic.patch
+ $(APPLY) $(SRC)/a52/liba52-silence.patch
ifndef HAVE_FPU
$(APPLY) $(SRC)/a52/liba52-fixed.diff
endif
More information about the vlc-commits
mailing list