avcodec/truemotion2: Fix passing null pointer to memset()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 May 2017 19:54:02 +0000 (21:54 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commitbbc6bfae376d2ea0ebcab857aaa10f77fa8ff650
tree5c2f6300caa8369845ae1eab7eb56a66aa5bfd85
parentb1777d92f9e243c13f482409e85a61de5b6e01fe
avcodec/truemotion2: Fix passing null pointer to memset()

Fixes part of: 1888/clusterfuzz-testcase-minimized-5237704826552320

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c901627918ff7480c1bb6f9cae507ee2c7c933d8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/truemotion2.c