[Mplayer-cvslog] CVS: main mplayer.c,1.441,1.442

Alban Bedel CVS albeu at mplayer.dev.hu
Wed Mar 20 10:48:50 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv13107

Modified Files:
	mplayer.c 
Log Message:
Fix endless loop at end of an audio only file. It occured when the last chunk
of audio data was smaller than the ao min outburst.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -r1.441 -r1.442
--- mplayer.c	19 Mar 2002 19:22:00 -0000	1.441
+++ mplayer.c	20 Mar 2002 09:48:47 -0000	1.442
@@ -1449,6 +1449,8 @@
 		    ,(sh_audio->timer>0.5)?100.0*audio_time_usage/(double)sh_audio->timer:0
 		    ,cache_fill_status
 		    );
+  if(d_audio->eof && sh_audio->a_buffer_len < ao_data.outburst)
+    eof = PT_NEXT_ENTRY;
   goto read_input;
 }
 




More information about the MPlayer-cvslog mailing list