1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

don't use odml when we don't have to -- the code is buggy!

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12330 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2004-04-27 23:08:46 +00:00
parent 05f4ba6c9e
commit 36d9c35547

View File

@ -225,6 +225,9 @@ while(1){
DWORD i;
unsigned msize = 0;
avisuperindex_chunk *s;
// FIXME: do not use odml index for files that don't need it.
// apparently the odml code is buggy!
if (demuxer->movi_end < 0x7fffffff) break;
priv->suidx_size++;
priv->suidx = realloc(priv->suidx, priv->suidx_size * sizeof (avisuperindex_chunk));
s = &priv->suidx[priv->suidx_size-1];