qtdemux: Fix calcuation of descriptor length

https://bugzilla.gnome.org/show_bug.cgi?id=720813
This commit is contained in:
Sebastian Dröge 2013-12-20 11:45:38 +01:00
parent aa9ee4bd93
commit 371482a90c

View file

@ -86,7 +86,7 @@ expandable_size_get_length (guint8 * ptr, guint32 array_size)
guint32 index = 0;
while (next && index < array_size) {
next = ((ptr[index] & 0x80) == 1);
next = (ptr[index] & 0x80);
index++;
}
return index;