mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
aacparse: fix LOAS parsing issue
Fix missing index in syncword searching https://bugzilla.gnome.org/show_bug.cgi?id=745585
This commit is contained in:
parent
c194f2de12
commit
5ead23a14a
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
|
|||
|
||||
for (i = 0; i < avail - 4; i++) {
|
||||
if (((data[i] == 0xff) && ((data[i + 1] & 0xf6) == 0xf0)) ||
|
||||
((data[0] == 0x56) && ((data[1] & 0xe0) == 0xe0)) ||
|
||||
((data[i] == 0x56) && ((data[i + 1] & 0xe0) == 0xe0)) ||
|
||||
strncmp ((char *) data + i, "ADIF", 4) == 0) {
|
||||
GST_DEBUG_OBJECT (aacparse, "Found signature at offset %u", i);
|
||||
found = TRUE;
|
||||
|
|
Loading…
Reference in a new issue