qtdemux: Fix calcuation of descriptor length
https://bugzilla.gnome.org/show_bug.cgi?id=720813
This commit is contained in:
parent
aa9ee4bd93
commit
371482a90c
@ -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…
x
Reference in New Issue
Block a user