freebsd-ports/multimedia/xmps/files/patch-codecs::audio::ac3::coeff.c
Maxim Sobolev 431f51597c - 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
2001-02-04 22:01:32 +00:00

23 lines
448 B
C

$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;
}