[MPlayer-cvslog] CVS: main/libaf af.c,1.50,1.51

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Oct 20 11:12:31 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv31982/libaf

Modified Files:
	af.c 
Log Message:
semi-hack: avoid passing 0-length blocks to audio filters.
Fixes bugzilla bug #391 (lavcresample crashes).


Index: af.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- af.c	1 Oct 2005 12:55:34 -0000	1.50
+++ af.c	20 Oct 2005 09:12:28 -0000	1.51
@@ -503,6 +503,7 @@
   af_instance_t* af=s->first; 
   // Iterate through all filters 
   do{
+    if (data->len <= 0) break;
     data=af->play(af,data);
     af=af->next;
   }while(af);




More information about the MPlayer-cvslog mailing list