Mercurial > mplayer.hg
comparison libmpdemux/aviheader.c @ 18958:a8e681ad7c90
Remove unused variables, patch by Stefan Huehner stefan at huehner org.
author | diego |
---|---|
date | Sat, 08 Jul 2006 17:28:36 +0000 |
parents | 4928dd61f136 |
children | 1767c271d710 |
comparison
equal
deleted
inserted
replaced
18957:6c152efde368 | 18958:a8e681ad7c90 |
---|---|
356 case ckidAVINEWINDEX: | 356 case ckidAVINEWINDEX: |
357 if(demuxer->movi_end>stream_tell(demuxer->stream)) | 357 if(demuxer->movi_end>stream_tell(demuxer->stream)) |
358 demuxer->movi_end=stream_tell(demuxer->stream); // fixup movi-end | 358 demuxer->movi_end=stream_tell(demuxer->stream); // fixup movi-end |
359 if(index_mode && !priv->isodml){ | 359 if(index_mode && !priv->isodml){ |
360 int i; | 360 int i; |
361 off_t base = 0; | |
362 uint32_t last_off = 0; | |
363 priv->idx_size=size2>>4; | 361 priv->idx_size=size2>>4; |
364 mp_msg(MSGT_HEADER,MSGL_V,MSGTR_MPDEMUX_AVIHDR_ReadingIndexBlockChunksForFrames, | 362 mp_msg(MSGT_HEADER,MSGL_V,MSGTR_MPDEMUX_AVIHDR_ReadingIndexBlockChunksForFrames, |
365 priv->idx_size,avih.dwTotalFrames, (int64_t)stream_tell(demuxer->stream)); | 363 priv->idx_size,avih.dwTotalFrames, (int64_t)stream_tell(demuxer->stream)); |
366 priv->idx=malloc(priv->idx_size<<4); | 364 priv->idx=malloc(priv->idx_size<<4); |
367 // printf("\nindex to %p !!!!! (priv=%p)\n",priv->idx,priv); | 365 // printf("\nindex to %p !!!!! (priv=%p)\n",priv->idx,priv); |
441 priv->isodml = 1; | 439 priv->isodml = 1; |
442 } | 440 } |
443 | 441 |
444 if (priv->isodml && (index_mode==-1 || index_mode==0 || index_mode==1)) { | 442 if (priv->isodml && (index_mode==-1 || index_mode==0 || index_mode==1)) { |
445 int i, j, k; | 443 int i, j, k; |
446 int safety=1000; | |
447 | 444 |
448 avisuperindex_chunk *cx; | 445 avisuperindex_chunk *cx; |
449 AVIINDEXENTRY *idx; | 446 AVIINDEXENTRY *idx; |
450 | 447 |
451 | 448 |