avformat/wtvdec: Avoid (32bit signed) sectors
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jun 2019 23:20:19 +0000 (01:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Jun 2019 19:36:39 +0000 (21:36 +0200)
commitdd357d76e5faf3ce6fc46ffb924cf30f1cb54af9
tree54d8ecfd7a7ebfa998b08411b313dee2930dc23f
parenta7e3b271fc9a91c5d2e4df32e70e525c15c6d3ef
avformat/wtvdec: Avoid (32bit signed) sectors

Fixes: left shift of negative value -14614752
Fixes: 15174/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5670543606415360

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/wtvdec.c