changeset 14586:77e2eaf833c5

Do not read any more data at eof: if got eof in the middle of an audio block, ad_realaudio requests more data even if sh->audio->eof Fixes sig11 at eof of hotel_california_ra5.1_640x480_30s.rmvb
author rtognimp
date Mon, 24 Jan 2005 21:57:07 +0000
parents 81059277538c
children 074e4dfed912
files libmpdemux/demux_real.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_real.c	Mon Jan 24 21:52:24 2005 +0000
+++ b/libmpdemux/demux_real.c	Mon Jan 24 21:57:07 2005 +0000
@@ -562,6 +562,7 @@
 	len = stream_read_word(demuxer->stream);	
     } else if ((version == 0x494e) && (len == 0x4458)) {
         mp_msg(MSGT_DEMUX,MSGL_V,"demux_real: Found INDX chunk. EOF.\n");
+        demuxer->stream->eof=1;
         return 0;
     }