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>
Sat, 26 Nov 2016 14:12:27 +0000 (15:12 +0100)
commitb0a5794e30d6ce8ec2217c64368f373863e17dcb
treec854a8740347ef057c52126d1b437599afb4dda4
parent63504a2d44e51999e3ce11a4b172a1b3965a2996
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>
(cherry picked from commit a609905723c01e356d35146425c3d45c090aae7b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/movtextdec.c