typefind: Avoid overflow calculation (image/quicktime)
authorEdward Hervey <edward@centricular.com>
Fri, 8 Dec 2017 07:00:07 +0000 (08:00 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 8 Dec 2017 08:12:33 +0000 (09:12 +0100)
commitaa10e82257c4646b18febb0d9dabbc6941f42c08
treedee757e72d5a85e4694b9c8d67de6159bee736c4
parent1df9b05f18af492e4de5abfb6a842287712fb732
typefind: Avoid overflow calculation (image/quicktime)

The qt typefinder uses guint64 values for offset and size calculation
but the typefinder system only supports gint64 values.

Make sure we don't end up using potentially overflowing values.
gst/typefind/gsttypefindfunctions.c