changeset 17564:8762ebad064f

fix -idx with ODML files (patch by Benjamin Zores < ben _at_ tutuxclan.org >)
author aurel
date Thu, 09 Feb 2006 00:40:35 +0000
parents 8084bcdb4898
children dc65faaadb04
files libmpdemux/aviheader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/aviheader.c	Thu Feb 09 00:29:35 2006 +0000
+++ b/libmpdemux/aviheader.c	Thu Feb 09 00:40:35 2006 +0000
@@ -432,7 +432,7 @@
     priv->isodml = 1;
 }
 
-if (priv->isodml && (index_mode==-1 || index_mode==0)) {
+if (priv->isodml && (index_mode==-1 || index_mode==0 || index_mode==1)) {
     int i, j, k;
     int safety=1000;