summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-08-05 00:41:37 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-08-05 00:41:37 +0000
commitdfde36a33e2807548ce5b0a0a4d1eda2f9e3924a (patch)
tree694a7846c9b2f109aa8d3d4b514963124a2605fb /libavformat/matroskadec.c
parent051ef5cef5ac5e884d859eb96f30598b497013ff (diff)
matroskadec: remove useless levelup check
Originally committed as revision 14584 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 83d6352a22..3b676214bb 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -550,8 +550,6 @@ ebml_read_element_id (MatroskaDemuxContext *matroska,
/* 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(MatroskaDemuxContext *matroska, EbmlSyntax *syntax,
res = ebml_parse_id(matroska, syntax, id, data);
if (once)
break;
-
- if (matroska->level_up) {
- matroska->level_up--;
- break;
- }
}
return res;