mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
matroskadec: cosmetic: split a line to make it more readable
This also simplifies further modifications. Originally committed as revision 23586 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b046c027a7
commit
6c58adf3b7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user