From a6fbd6ca66dfbf0f3c8f7182fe2d9f75d6860632 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Mon, 24 Jan 2005 21:57:07 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14587 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_real.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index d28e953031..55e4edbf0f 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -562,6 +562,7 @@ int demux_real_fill_buffer(demuxer_t *demuxer) 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; }