diff --git a/gst/isomp4/descriptors.c b/gst/isomp4/descriptors.c index 73d54e8578..713ffdcf5f 100644 --- a/gst/isomp4/descriptors.c +++ b/gst/isomp4/descriptors.c @@ -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;