changeset 21772:8bc0464ab286

dont read index if -noidx
author michael
date Fri, 29 Dec 2006 19:01:55 +0000
parents 4f317822d1fc
children 03bc990498fc
files libmpdemux/aviheader.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/aviheader.c	Fri Dec 29 18:56:28 2006 +0000
+++ b/libmpdemux/aviheader.c	Fri Dec 29 19:01:55 2006 +0000
@@ -206,6 +206,9 @@
     case mmioFOURCC('i', 'n', 'd', 'x'): {
       uint32_t i;
       avisuperindex_chunk *s;
+
+      if(!index_mode) break;
+
       if(chunksize<=24){
         break;
       }