diff options
author | Mans Rullgard <[email protected]> | 2012-12-07 13:53:56 +0000 |
---|---|---|
committer | Reinhard Tartler <[email protected]> | 2013-05-09 11:29:05 +0200 |
commit | c65763a2c677d75388828b9411a69e95bd3ab7af (patch) | |
tree | 5d64d2df82f3c487c195386f7f4ab847138ad158 /libavcodec/ac3_parser.c | |
parent | 9c713f30e4913a28d93eb37ea5db7f62be4c0ef6 (diff) |
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 <[email protected]>
(cherry picked from commit 91ac403b1316d59b4f43c4ea0f237e24cec2819a)
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavcodec/ac3_parser.c')
0 files changed, 0 insertions, 0 deletions