aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-test.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-12-07 13:53:56 +0000
committerReinhard Tartler <siretart@tauware.de>2013-05-09 11:29:05 +0200
commitc65763a2c677d75388828b9411a69e95bd3ab7af (patch)
tree5d64d2df82f3c487c195386f7f4ab847138ad158 /libswscale/swscale-test.c
parent9c713f30e4913a28d93eb37ea5db7f62be4c0ef6 (diff)
downloadffmpeg-c65763a2c677d75388828b9411a69e95bd3ab7af.tar.gz
lavf: fix arithmetic overflows in avformat_seek_file()
The values compared here can be more than INT64_MAX apart. Since the difference is always positive, converting to uint64_t before subtracting gives the correct result without overflows. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 91ac403b1316d59b4f43c4ea0f237e24cec2819a) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libswscale/swscale-test.c')
0 files changed, 0 insertions, 0 deletions