[MPlayer-cvslog] r19140 - trunk/libmpcodecs/ad_realaud.c
rtogni
subversion at mplayerhq.hu
Wed Jul 19 20:20:25 CEST 2006
Author: rtogni
Date: Wed Jul 19 20:20:25 2006
New Revision: 19140
Modified:
trunk/libmpcodecs/ad_realaud.c
Log:
Quit on eof, was broken by r17150
Noticed by LR hephooey gmail com
Modified: trunk/libmpcodecs/ad_realaud.c
==============================================================================
--- trunk/libmpcodecs/ad_realaud.c (original)
+++ trunk/libmpcodecs/ad_realaud.c Wed Jul 19 20:20:25 2006
@@ -410,6 +410,8 @@
if(sh->a_in_buffer_len<=0){
// fill the buffer!
+ if (sh->ds->eof)
+ return 0;
demux_read_data(sh->ds, sh->a_in_buffer, sh->wf->nBlockAlign);
sh->a_in_buffer_size=
sh->a_in_buffer_len=sh->wf->nBlockAlign;
More information about the MPlayer-cvslog
mailing list