summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2013-12-20 11:45:38 +0100
committerSebastian Dröge <sebastian@centricular.com>2013-12-26 09:01:35 +0100
commitf0f88bad31d2be2b17ce656f4f706fe9b35f30b9 (patch)
tree38264f6913b04f5c88b768232cb2324803cc4aaa
parent88cbfb6726018e91355b7d305b1bc1ea8d0406f3 (diff)
qtdemux: Fix calcuation of descriptor length
https://bugzilla.gnome.org/show_bug.cgi?id=720813
-rw-r--r--gst/isomp4/descriptors.c2
1 files changed, 1 insertions, 1 deletions
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;