Commit dfde36a3 authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: remove useless levelup check

Originally committed as revision 14584 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 051ef5ce
......@@ -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;
......
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