typefindhelper: Fix overflow some more
authorEdward Hervey <edward@centricular.com>
Sat, 4 Nov 2017 10:45:54 +0000 (11:45 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 4 Nov 2017 10:48:40 +0000 (11:48 +0100)
commit40187f9247d5f20f8f6c869bd1f995127dc11b55
tree811c0da85278a9d401b64b5742b91205dc5950c3
parent4ccdad084b4c943fc0578c8695749411c2e73f09
typefindhelper: Fix overflow some more

Nothing guaranteed that off+size wouldn't exceed a 2**64 value.

Instead we reverse the operation and use a subtraction.
libs/gst/base/gsttypefindhelper.c