From f89822df440323a962542686058b48e47968341c Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 29 Dec 2006 19:01:55 +0000 Subject: [PATCH] dont read index if -noidx git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21788 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/aviheader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c index c79a19b0b8..0cb6ee5a55 100644 --- a/libmpdemux/aviheader.c +++ b/libmpdemux/aviheader.c @@ -206,6 +206,9 @@ while(1){ case mmioFOURCC('i', 'n', 'd', 'x'): { uint32_t i; avisuperindex_chunk *s; + + if(!index_mode) break; + if(chunksize<=24){ break; }