mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 13:49:33 +00:00
more movi_end mess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4226 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ac9251d119
commit
e80c0bc832
@ -150,7 +150,10 @@ while(1){
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ckidAVINEWINDEX: if(index_mode){
|
case ckidAVINEWINDEX:
|
||||||
|
if(demuxer->movi_end>stream_tell(demuxer->stream))
|
||||||
|
demuxer->movi_end=stream_tell(demuxer->stream); // fixup movi-end
|
||||||
|
if(index_mode){
|
||||||
int i;
|
int i;
|
||||||
priv->idx_size=size2>>4;
|
priv->idx_size=size2>>4;
|
||||||
mp_msg(MSGT_HEADER,MSGL_V,"Reading INDEX block, %d chunks for %ld frames\n",
|
mp_msg(MSGT_HEADER,MSGL_V,"Reading INDEX block, %d chunks for %ld frames\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user