fix premature end of audio playback (audio only)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17342 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2006-01-08 10:18:18 +00:00
parent 9754119e17
commit 757387a4fc
1 changed files with 1 additions and 1 deletions

View File

@ -2633,7 +2633,7 @@ if(!sh_video) {
float a_pos = sh_audio->delay - audio_out->get_delay() * playback_speed;
print_status(a_pos, 0, 0);
}
if(d_audio->eof && sh_audio->a_in_buffer_len <= 0) eof = PT_NEXT_ENTRY;
if(d_audio->eof && sh_audio->a_in_buffer_len <= 0 && sh_audio->a_buffer_len <= 0) eof = PT_NEXT_ENTRY;
} else {