Commit bcd2b34d authored by aurel's avatar aurel

matroskadec: remove useless levelup check

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14584 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5e0f2832
...@@ -550,8 +550,6 @@ ebml_read_element_id (MatroskaDemuxContext *matroska, ...@@ -550,8 +550,6 @@ ebml_read_element_id (MatroskaDemuxContext *matroska,
/* if we re-call this, use our cached ID */ /* if we re-call this, use our cached ID */
if (matroska->peek_id != 0) { if (matroska->peek_id != 0) {
if (level_up)
*level_up = 0;
*id = matroska->peek_id; *id = matroska->peek_id;
return 0; return 0;
} }
...@@ -1084,11 +1082,6 @@ static int ebml_parse(MatroskaDemuxContext *matroska, EbmlSyntax *syntax, ...@@ -1084,11 +1082,6 @@ static int ebml_parse(MatroskaDemuxContext *matroska, EbmlSyntax *syntax,
res = ebml_parse_id(matroska, syntax, id, data); res = ebml_parse_id(matroska, syntax, id, data);
if (once) if (once)
break; break;
if (matroska->level_up) {
matroska->level_up--;
break;
}
} }
return res; return res;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment