Mercurial > mplayer.hg
changeset 14581:a9b1c0695a27
Reset stream eof after parsing header, fixes bug #218
author | reimar |
---|---|
date | Sun, 23 Jan 2005 21:39:51 +0000 |
parents | 5becfc1e6c16 |
children | d162f04e4695 |
files | libmpdemux/demux_mov.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c Sat Jan 22 20:28:32 2005 +0000 +++ b/libmpdemux/demux_mov.c Sun Jan 23 21:39:51 2005 +0000 @@ -1607,6 +1607,8 @@ return 0; } lschunks(demuxer, 0, priv->moov_end, NULL); + // just in case we have hit eof while parsing... + demuxer->stream->eof = 0; // mp_msg(MSGT_DEMUX, MSGL_INFO, "--------------\n"); // find the best (longest) streams: @@ -1710,6 +1712,7 @@ } } } + demuxer->stream->eof = 0; #endif return 1;