mirror of https://github.com/mpv-player/mpv
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:
parent
809b5476a7
commit
9a37723498
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue