qtdemux: Use signed integer type to be able to check for negative subtraction results

CID 1315829
This commit is contained in:
Sebastian Dröge 2015-08-16 13:04:02 +02:00
parent 1aee15050c
commit e9aa4c7467

View file

@ -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))) {