From aa25ad7277c2d5809fb0c17c8462eea97b02763d Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 14 Jun 2002 01:48:14 +0000 Subject: [PATCH] audio subpacket reordering fixed for odd matrix height triggered by cowboy.rm uploaded by Luke Harrison git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6429 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_real.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/ad_real.c b/libmpcodecs/ad_real.c index 26ac42d299..628239162c 100644 --- a/libmpcodecs/ad_real.c +++ b/libmpcodecs/ad_real.c @@ -168,7 +168,7 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) int x,y; for(y=0;yds, 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;