[vlc-commits] contrib: a52: remove scary dummy error messages
Rémi Denis-Courmont
git at videolan.org
Tue Feb 7 12:12:14 CET 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 6 19:42:16 2012 +0200| [0bff3a72381e92376c87e4d0b14e9098a8a38edc] | committer: Jean-Baptiste Kempf
contrib: a52: remove scary dummy error messages
(cherry picked from commit a8ad08b24825b310d10bbc9846ad0a7000c418b4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=0bff3a72381e92376c87e4d0b14e9098a8a38edc
---
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