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
@ -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…
x
Reference in New Issue
Block a user