Mercurial > mplayer.hg
changeset 12329:3c23de96a936
don't use odml when we don't have to -- the code is buggy!
author | rfelker |
---|---|
date | Tue, 27 Apr 2004 23:08:46 +0000 |
parents | cbd80ac70b9e |
children | 343568042bfa |
files | libmpdemux/aviheader.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/aviheader.c Tue Apr 27 21:23:59 2004 +0000 +++ b/libmpdemux/aviheader.c Tue Apr 27 23:08:46 2004 +0000 @@ -225,6 +225,9 @@ 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];