mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
qtdemux: Fix calcuation of descriptor length
https://bugzilla.gnome.org/show_bug.cgi?id=720813
This commit is contained in:
parent
aa9ee4bd93
commit
371482a90c
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ expandable_size_get_length (guint8 * ptr, guint32 array_size)
|
||||||
guint32 index = 0;
|
guint32 index = 0;
|
||||||
|
|
||||||
while (next && index < array_size) {
|
while (next && index < array_size) {
|
||||||
next = ((ptr[index] & 0x80) == 1);
|
next = (ptr[index] & 0x80);
|
||||||
index++;
|
index++;
|
||||||
}
|
}
|
||||||
return index;
|
return index;
|
||||||
|
|
Loading…
Reference in a new issue