diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-20 09:48:47 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-20 09:48:47 +0000 |
commit | aa2319e1ea205975cc2df7ab1ba3f7d3678643f0 (patch) | |
tree | 79bc7c4b5e7450ee3600d90466e20cc84f6ea340 /mplayer.c | |
parent | 366c057ac4777887359a4d6803df3d7098926d0b (diff) | |
download | mpv-aa2319e1ea205975cc2df7ab1ba3f7d3678643f0.tar.bz2 mpv-aa2319e1ea205975cc2df7ab1ba3f7d3678643f0.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5217 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1449,6 +1449,8 @@ if(!sh_video) { ,(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; } |