Commit 371482a9 authored by Sebastian Dröge's avatar Sebastian Dröge

qtdemux: Fix calcuation of descriptor length

https://bugzilla.gnome.org/show_bug.cgi?id=720813
parent aa9ee4bd
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment