avcodec/movtextdec: Fix tsmb_size check==0 check
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Nov 2016 13:52:21 +0000 (14:52 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Nov 2016 14:08:20 +0000 (15:08 +0100)
commita609905723c01e356d35146425c3d45c090aae7b
tree840c39eb18dd45c616b936cf3d60943ce63ec626
parent6ea27157682200e5f78cadcabdb009eccd9dd9b1
avcodec/movtextdec: Fix tsmb_size check==0 check

Fixes: 173/fuzz-3-ffmpeg_SUBTITLE_AV_CODEC_ID_MOV_TEXT_fuzzer

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/movtextdec.c