avformat/smacker: fix integer overflow with pts_inc
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Dec 2015 12:06:16 +0000 (13:06 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 01:51:27 +0000 (02:51 +0100)
commit0e3ec7db5334e580b2d85153d025042c8236901e
tree44b9413b4b9c4a9f2f405228b01f39345a5a6dd2
parent73966b01618ebc9c5b68a3e09c47fb0cc15ed329
avformat/smacker: fix integer overflow with pts_inc

Fixes: ce19e41f0ef1e52a23edc488faecdb58/asan_heap-oob_2504e97_4202_ffa0df1baed14022b9bfd4f8ac23d0cb.smk

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7ed47e97297fd5ef473d0cc93f0455adbadaac83)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/smacker.c