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>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit7b16eacf81dc55463934d7f45c600f0322d74f27
tree29bf524df12c1611e8ef40bf889c1427e3ffa66d
parentd25736dc871b46f9e22e6b23b4b8e131e685a9c4
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