mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
oggstream: Fix parsing of theora size
This commit is contained in:
parent
e443ae6000
commit
0c4820914c
1 changed files with 2 additions and 2 deletions
|
@ -343,8 +343,8 @@ setup_theora_mapper (GstOggStream * pad, ogg_packet * packet)
|
|||
guint8 *data = packet->packet;
|
||||
guint w, h, par_d, par_n;
|
||||
|
||||
w = GST_READ_UINT24_BE (data + 14) & 0xFFFFF0;
|
||||
h = GST_READ_UINT24_BE (data + 17) & 0xFFFFF0;
|
||||
w = GST_READ_UINT24_BE (data + 14) & 0xFFFFFF;
|
||||
h = GST_READ_UINT24_BE (data + 17) & 0xFFFFFF;
|
||||
|
||||
pad->granulerate_n = GST_READ_UINT32_BE (data + 22);
|
||||
pad->granulerate_d = GST_READ_UINT32_BE (data + 26);
|
||||
|
|
Loading…
Reference in a new issue