qtmux: gst_qtmux_check_difference verify before subtract
authorAlejandro Gonzalez <agonzalez@dextratech.com>
Sat, 27 Nov 2010 22:07:19 +0000 (16:07 -0600)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:20 +0000 (20:32 +0100)
commit04b0a37f879e13f8a5584afca2662a6c1d9e3c7c
treef00c7ba3164674bf3e3500fd26a6f085c5514d50
parent9c198ffeed81eff338242ade0f6b6d8ac86afa9b
qtmux: gst_qtmux_check_difference verify before subtract

Avoid negative overflow by checking the order of operands
on subtraction of unsigned integers.

https://bugzilla.gnome.org/show_bug.cgi?id=635878
gst/quicktime/gstqtmux.c