avformat/oggdec: Fix integer overflow with invalid pts
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Aug 2016 11:34:40 +0000 (13:34 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 15 Aug 2016 18:25:13 +0000 (20:25 +0200)
commit942c3bfbdfd17cd3778343fe7d3db3048b6e7305
tree9e5ed7c576d32ade37a6d495743a3af36988aed9
parent486aa4fe39dba347fa0fff42f71697da86c5e1d9
avformat/oggdec: Fix integer overflow with invalid pts

If negative pts are possible for some codecs in ogg then the code needs to be
changed to use signed values.

Found-by: Thomas Guilbert <tguilbert@google.com>
Fixes: clusterfuzz_usan-2016-08-02
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c5cc3b08e56fc95665977544486bd9f06e4b7a72)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/oggdec.h