summaryrefslogtreecommitdiff
path: root/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-02-04 22:01:32 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-02-04 22:01:32 +0000
commit431f51597c510ea57f3314e1028efbf39e4e2499 (patch)
treef30763d2e843565f3a05d62a84ce893b0f7ee706 /multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
parentInstall English (American or British) *.dict file too for ports which use it (diff)
- Update to 0.2.0;
- make pkg-descr reflecting reality (no smpeg anymore); - force usual naming conventions for the libraries installed into ${PREFIX}/lib (i.e. .so and .so.xxx, not just .so). Please note that unlike previous, this new version doesn't include ability to play MPEG-1 OOB, so if you use it for than you probably may want to stick with 0.1.3. Also please note that it's still full of stupid bugs and linuxisms (like assumption that OS should zero all unitialized data when loading a program), so beware. Update prompted by: lioux
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;
+ }