Package: xine-lib
Version: 1.1.1-1
Tags: patch
Severity: important

The patch attached below is needed to fix a 64-bit problem.  Without
the patch, the call to NeAACDecInit2() in xine_decoder.c will
initialize only the low 32 bits of the "rate" member.  With this patch
and the patch for bug 360003 applied, I don't see any 64-bit issues
with building xine_decoder.c anymore.  I'm not sure how to test the
library on its own though ("make check" doesn't seem to do anything
useful).

 --david
--
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
diff -u xine-lib-1.1.1/src/libfaad/xine_decoder.c xine-lib-1.1.1-fixed/src/libfaad/xine_decoder.c
--- xine-lib-1.1.1/src/libfaad/xine_decoder.c	2005-10-29 16:57:07.000000000 -0700
+++ xine-lib-1.1.1-fixed/src/libfaad/xine_decoder.c	2006-06-16 08:24:40.000000000 -0700
@@ -66,7 +69,7 @@
   unsigned char   *dec_config;
   int              dec_config_size;
   
-  unsigned long    rate;
+  uint32_t	   rate;
   int              bits_per_sample; 
   unsigned char    num_channels; 
   int              sbr;

Reply via email to