typefind: Avoid overflow calculation
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 07:05:10 +0000 (08:05 +0100)
commit1df9b05f18af492e4de5abfb6a842287712fb732
tree9e4c0717bee39b64a8a1b311d241643d00982f84
parent6e770e0ebbc9b36fa06a9a3a7b485ee1e8ea97e5
typefind: Avoid overflow calculation

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