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>
Wed, 15 Nov 2017 16:31:09 +0000 (17:31 +0100)
commit6d00905f8134a2932e5c00dd1ec8b2a1f0a38035
treea0d6a7e3297cb54594723604425e2f0cdb9abe69
parenteec67f7b24da5407cc2e8933ffe72358336811ab
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>
libavcodec/vc2enc.c