Reset stream eof after parsing header, fixes bug #218

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14582 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-01-23 21:39:51 +00:00
parent 809b5476a7
commit 9a37723498
1 changed files with 3 additions and 0 deletions

View File

@ -1607,6 +1607,8 @@ int mov_read_header(demuxer_t* demuxer){
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 @@ int mov_read_header(demuxer_t* demuxer){
}
}
}
demuxer->stream->eof = 0;
#endif
return 1;