freebsd-ports/multimedia/xmps/files/patch-codecs::audio::ac3::exponent.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

22 lines
483 B
C

$FreeBSD$
--- codecs/audio/ac3/exponent.c 2001/02/04 21:17:23 1.1
+++ codecs/audio/ac3/exponent.c 2001/02/04 21:18:06
@@ -30,7 +30,7 @@
#include "exponent.h"
-extern int error;
+extern int ac3_error;
static inline void exp_unpack_ch(uint16_t type,uint16_t expstr,uint16_t ngrps,uint16_t initial_exp, uint16_t exps[], uint16_t *dest);
@@ -126,6 +126,6 @@
return;
error:
fprintf (stderr,"** Invalid exponent - skipping frame **\n");
- error = 1;
+ ac3_error = 1;
}