Mercurial > mplayer.hg
changeset 1499:c3517acc0497
terrible -idx bug fixed, thanx to Raphael Manfredi
author | arpi |
---|---|
date | Sun, 12 Aug 2001 22:36:05 +0000 |
parents | 6174b815b5f4 |
children | 526047bdda07 |
files | aviheader.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/aviheader.c Sun Aug 12 20:52:35 2001 +0000 +++ b/aviheader.c Sun Aug 12 22:36:05 2001 +0000 @@ -182,7 +182,7 @@ if(stream_eof(demuxer->stream)) break; if(!id || avi_stream_id(id)==100) goto skip_chunk; // bad ID (or padding?) - if(priv->idx_pos<=priv->idx_size){ + if(priv->idx_pos>=priv->idx_size){ // priv->idx_size+=32; priv->idx_size+=1024; // +16kB priv->idx=realloc(priv->idx,priv->idx_size*sizeof(AVIINDEXENTRY));