summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-08-16 13:04:02 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-08-16 13:04:02 +0200
commite9aa4c74676cf39e982ed78d3d7855d8deeda5b2 (patch)
treebedef56994c9d23bf8ac386c962f860f5eab6010
parent1aee15050c7d515c484a63ad731d24292ed4ed39 (diff)
qtdemux: Use signed integer type to be able to check for negative subtraction results
CID 1315829
-rw-r--r--gst/isomp4/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 3e7a47b04..11d98ad1a 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -4882,7 +4882,7 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux,
GstStructure *crypto_info;
QtDemuxCencSampleSetInfo *info =
(QtDemuxCencSampleSetInfo *) stream->protection_scheme_info;
- guint index;
+ gint index;
GstEvent *event;
while ((event = g_queue_pop_head (&stream->protection_scheme_event_queue))) {