diff options
author | Mans Rullgard <mans@mansr.com> | 2012-12-07 13:53:56 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-12-08 19:35:16 +0000 |
commit | 91ac403b1316d59b4f43c4ea0f237e24cec2819a (patch) | |
tree | 78e06c14b5084e8b0c849837860801fc09d5e894 /libavfilter/af_channelmap.c | |
parent | 6a1aa5cb26479eda12320e9b9ced9cc058bf5b33 (diff) | |
download | ffmpeg-91ac403b1316d59b4f43c4ea0f237e24cec2819a.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>
Diffstat (limited to 'libavfilter/af_channelmap.c')
0 files changed, 0 insertions, 0 deletions