mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
vc1parser: Correct the parsing of sequece layer.
This commit is contained in:
parent
8eda5fc5dc
commit
30a3c5147b
1 changed files with 4 additions and 4 deletions
|
@ -1804,13 +1804,13 @@ gst_vc1_parse_sequence_layer (const guint8 * data, gsize size,
|
|||
|
||||
READ_UINT32 (&br, seqlayer->numframes, 24);
|
||||
|
||||
if (parse_sequence_header_struct_c (&br, &seqlayer->struct_c) ==
|
||||
GST_VC1_PARSER_ERROR)
|
||||
goto failed;
|
||||
|
||||
READ_UINT32 (&br, tmp, 32);
|
||||
if (tmp != 0x04)
|
||||
goto failed;
|
||||
|
||||
if (parse_sequence_header_struct_c (&br, &seqlayer->struct_c) ==
|
||||
GST_VC1_PARSER_ERROR)
|
||||
goto failed;
|
||||
|
||||
if (parse_sequence_header_struct_a (&br, &seqlayer->struct_a) ==
|
||||
GST_VC1_PARSER_ERROR)
|
||||
|
|
Loading…
Reference in a new issue