[FFmpeg-cvslog] r14584 - trunk/libavformat/matroskadec.c

aurel subversion
Tue Aug 5 02:41:38 CEST 2008


Author: aurel
Date: Tue Aug  5 02:41:37 2008
New Revision: 14584

Log:
matroskadec: remove useless levelup check

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Tue Aug  5 02:41:37 2008
@@ -550,8 +550,6 @@ ebml_read_element_id (MatroskaDemuxConte
 
     /* 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 @@ static int ebml_parse(MatroskaDemuxConte
         res = ebml_parse_id(matroska, syntax, id, data);
         if (once)
             break;
-
-        if (matroska->level_up) {
-            matroska->level_up--;
-            break;
-        }
     }
 
     return res;




More information about the ffmpeg-cvslog mailing list