[MPlayer-cvslog] CVS: main/libmpcodecs ad_hwac3.c,1.10,1.11

Alex Beregszaszi syncmail at mplayerhq.hu
Sun Dec 19 17:53:29 CET 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv7326

Modified Files:
	ad_hwac3.c 
Log Message:
10l fix I hope, reverse if not

Index: ad_hwac3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_hwac3.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ad_hwac3.c	26 Sep 2003 19:21:08 -0000	1.10
+++ ad_hwac3.c	19 Dec 2004 16:53:26 -0000	1.11
@@ -364,6 +364,8 @@
 #else
   //TODO if fzise is odd, swab doesn't copy the last byte
   swab(indata_ptr, &buf[8], fsize);
+  if (fsize & 1)
+    buf[8+fsize] = indata_ptr[fsize];
 #endif
   memset(&buf[fsize + 8], 0, nr_samples * 2 * 2 - (fsize + 8));
 




More information about the MPlayer-cvslog mailing list