avcodec/vc2enc: Clear coef_buf on allocation
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Nov 2017 15:53:34 +0000 (16:53 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commit4171249d7632ea4ea2964b992eca7adc12dacb76
treeec6d9e1e1a5deb60ab87b4ed3146a5abc65ba2a8
parent2fc1a8ba4984097aca266d6539e52bcfe67d02fb
avcodec/vc2enc: Clear coef_buf on allocation

Fixes: Use of uninitialized memory
Fixes: assertion failure

Reviewed-by: <atomnuker>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 6d00905f8134a2932e5c00dd1ec8b2a1f0a38035)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vc2enc.c