summaryrefslogtreecommitdiff
path: root/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c')
-rw-r--r--multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c b/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
new file mode 100644
index 000000000000..9f2576ac8fc7
--- /dev/null
+++ b/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- codecs/audio/ac3/coeff.c 2001/02/04 21:17:23 1.1
++++ codecs/audio/ac3/coeff.c 2001/02/04 21:17:55
+@@ -254,7 +254,7 @@
+ 11, 12, 14, 16
+ };
+
+-extern int error;
++extern int ac3_error;
+
+ static void coeff_reset(void);
+ static float coeff_get_float(uint16_t bap, uint16_t dithflag, uint16_t exp);
+@@ -370,7 +370,7 @@
+
+ error:
+ XMPS_DEBUG("** Invalid mantissa - skipping frame **");
+- error = 1;
++ ac3_error = 1;
+
+ return 0.0;
+ }