[Mplayer-cvslog] CVS: main/libmpcodecs ad_real.c,1.8,1.9

Arpi of Ize arpi at mplayerhq.hu
Fri Jun 14 03:48:17 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv30972

Modified Files:
	ad_real.c 
Log Message:
audio subpacket reordering fixed for odd matrix height
triggered by cowboy.rm uploaded by Luke Harrison <luke at vv.carleton.ca>


Index: ad_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_real.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ad_real.c	13 Jun 2002 00:14:28 -0000	1.8
+++ ad_real.c	14 Jun 2002 01:48:14 -0000	1.9
@@ -168,7 +168,7 @@
       int x,y;
       for(y=0;y<h;y++)
         for(x=0;x<w;x++){
-	    demux_read_data(sh->ds, sh->a_in_buffer+sps*(h*x+(h/2)*(y&1)+(y>>1)), sps);
+	    demux_read_data(sh->ds, sh->a_in_buffer+sps*(h*x+((h+1)/2)*(y&1)+(y>>1)), sps);
 	}
       sh->a_in_buffer_size=
       sh->a_in_buffer_len=w*h*sps;




More information about the MPlayer-cvslog mailing list