changeset 3664:6a81fd414b18 libavformat

matroskadec: remove useless levelup check
author aurel
date Tue, 05 Aug 2008 00:41:37 +0000
parents eb1c4a7b4aff
children 8fb8a0dfe593
files matroskadec.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Tue Aug 05 00:41:34 2008 +0000
+++ b/matroskadec.c	Tue Aug 05 00:41:37 2008 +0000
@@ -550,8 +550,6 @@
 
     /* if we re-call this, use our cached ID */
     if (matroska->peek_id != 0) {
-        if (level_up)
-            *level_up = 0;
         *id = matroska->peek_id;
         return 0;
     }
@@ -1084,11 +1082,6 @@
         res = ebml_parse_id(matroska, syntax, id, data);
         if (once)
             break;
-
-        if (matroska->level_up) {
-            matroska->level_up--;
-            break;
-        }
     }
 
     return res;