mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
mpegts: use GST_READ_UINT32_BE
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de> https://bugzilla.gnome.org/show_bug.cgi?id=727187
This commit is contained in:
parent
8b8ceb2dd9
commit
d108fe7ee1
1 changed files with 1 additions and 2 deletions
|
@ -770,8 +770,7 @@ gst_mpegts_descriptor_parse_terrestrial_delivery_system (const
|
|||
data = (guint8 *) descriptor->data + 2;
|
||||
|
||||
res->frequency = 0;
|
||||
res->frequency =
|
||||
*(data + 3) | *(data + 2) << 8 | *(data + 1) << 16 | *data << 24;
|
||||
res->frequency = GST_READ_UINT32_BE (data);
|
||||
res->frequency *= 10;
|
||||
|
||||
data += 4;
|
||||
|
|
Loading…
Reference in a new issue