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>
Sun, 28 May 2017 19:56:02 +0000 (21:56 +0200)
commitc901627918ff7480c1bb6f9cae507ee2c7c933d8
treebfdb846a1ac5c86778e2bce028561e084a1a7233
parentc9e884f3d98df85bf7f2cf30d71877b22929fdcb
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>
libavcodec/truemotion2.c