qtmux: gst_qtmux_check_difference verify before subtract
authorAlejandro Gonzalez <agonzalez@dextratech.com>
Sat, 27 Nov 2010 22:07:19 +0000 (16:07 -0600)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 29 Nov 2010 12:21:39 +0000 (09:21 -0300)
commit0930f0645f03f7bd59537bbb4550f62d5fe58a6a
tree28267eff3f970b1433c5a4c6a5b9cd6f54ed5dd7
parent7e8081c89e11378321c57f920c3a95fce03bfe87
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/qtmux/gstqtmux.c