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>
Mon, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commite69edb7aef67b01e94c1298b34366570dc83d717
tree7cb0a6144070cbc6bbcede9a5bf82fe9ecb75498
parentcbc839681b166ba58c35bbbbfd10b955304de3ed
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