CVS: main/libmpcodecs ad_hwac3.c,1.6,1.7
Update of /cvsroot/mplayer/main/libmpcodecs In directory mail:/var/tmp.root/cvs-serv5465 Modified Files: ad_hwac3.c Log Message: 10l bug - 'len' was handled wrong. found by Anssi Saari <as@sci.fi> Index: ad_hwac3.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_hwac3.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ad_hwac3.c 31 Aug 2002 13:09:23 -0000 1.6 +++ ad_hwac3.c 15 Sep 2002 15:50:28 -0000 1.7 @@ -80,8 +80,8 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) { - int len=-1; - if(!sh_audio->a_in_buffer_len) + int len=sh_audio->a_in_buffer_len; + if(len<=0) if((len=a52_fillbuff(sh_audio))<=0) return len; /*EOF*/ sh_audio->a_in_buffer_len=0;
participants (1)
-
Arpi of Ize