Commit b40cd6e7 authored by aurel's avatar aurel

matroskadec: cosmetic: split a line to make it more readable

This also simplifies further modifications.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23586 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1e301151
......@@ -726,8 +726,10 @@ static int ebml_parse(MatroskaDemuxContext *matroska, EbmlSyntax *syntax,
{
uint64_t id;
int res = ebml_read_num(matroska, matroska->ctx->pb, 4, &id);
if (res < 0)
return res;
id |= 1 << 7*res;
return res < 0 ? res : ebml_parse_id(matroska, syntax, id, data);
return ebml_parse_id(matroska, syntax, id, data);
}
static int ebml_parse_nest(MatroskaDemuxContext *matroska, EbmlSyntax *syntax,
......
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