mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
vc1parse: fix framesize when input is frame-layer
frame-layer header is represented as a sequence of 32 bit unsigned integer serialized in little-endian byte order, so framesize is on the first 3 bytes. SMPTE 421M Annex L. https://bugzilla.gnome.org/show_bug.cgi?id=738243
This commit is contained in:
parent
bc835743a4
commit
6df477ff0d
1 changed files with 1 additions and 1 deletions
|
@ -1053,7 +1053,7 @@ gst_vc1_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
|
|||
/* frame-layer or sequence-layer-frame-layer */
|
||||
g_assert (size >= 8);
|
||||
/* Parse frame layer size */
|
||||
framesize = GST_READ_UINT24_LE (data + 1) + 8;
|
||||
framesize = GST_READ_UINT24_LE (data) + 8;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue