[MPlayer-cvslog] CVS: main/libmpcodecs ad_faad.c,1.20,1.21

Attila Kinali CVS syncmail at mplayerhq.hu
Thu Sep 1 17:25:06 CEST 2005


CVS change done by Attila Kinali CVS

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

Modified Files:
	ad_faad.c 
Log Message:
stop trying to decode faad audio, when last decoded length is <0


Index: ad_faad.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_faad.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ad_faad.c	15 Jul 2005 22:09:30 -0000	1.20
+++ ad_faad.c	1 Sep 2005 15:25:03 -0000	1.21
@@ -211,7 +211,7 @@
   int j = 0, len = 0;	      
   void *faac_sample_buffer;
 
-  while(len < minlen) {
+  while(len < minlen && len > 0) {
 
     /* update buffer for raw aac streams: */
   if(!sh->codecdata_len)




More information about the MPlayer-cvslog mailing list