summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-12-07 13:53:56 +0000
committerMans Rullgard <mans@mansr.com>2012-12-08 19:35:16 +0000
commit91ac403b1316d59b4f43c4ea0f237e24cec2819a (patch)
tree78e06c14b5084e8b0c849837860801fc09d5e894 /libavcodec/h263dec.c
parent6a1aa5cb26479eda12320e9b9ced9cc058bf5b33 (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 <mans@mansr.com>
Diffstat (limited to 'libavcodec/h263dec.c')
0 files changed, 0 insertions, 0 deletions