aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-30 22:29:23 +0000
committerGravatar ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-30 22:29:23 +0000
commitf6c7658fefca873c306c20e6ec115cd19e530bf4 (patch)
tree3cb3b44b574bb8adef54bcac00a0feb72f60bdaa
parent9cc051e7d89b126bd9534e582ae53818bd6a41a7 (diff)
Remove borken index fixup (breaks more than it fixes)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12737 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/aviheader.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c
index 3cf7a26dee..3a4034f601 100644
--- a/libmpdemux/aviheader.c
+++ b/libmpdemux/aviheader.c
@@ -373,19 +373,6 @@ while(1){
le2me_AVIINDEXENTRY((AVIINDEXENTRY*)priv->idx + i);
chunksize-=priv->idx_size<<4;
if(verbose>=2) print_index(priv->idx,priv->idx_size);
- /*
- * Fixup index for files >4GB
- */
- for (i = 0; i < priv->idx_size; i++) {
- AVIINDEXENTRY *idx = (AVIINDEXENTRY*)priv->idx + i;
- idx->dwFlags &= 0xffff;
- if (idx->dwChunkOffset < last_off) {
- mp_msg(MSGT_HEADER,MSGL_WARN,"Index offset going backwards (last=%08X, now=%08X), compensating...\n", last_off, idx->dwChunkOffset);
- base += 0x100000000LL;
- }
- idx->dwFlags |= base >> 16;
- last_off = idx->dwChunkOffset;
- }
}
break;
/* added May 2002 */