avcodec/hevc: clear filter_slice_edges() on allocation
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Dec 2014 18:42:57 +0000 (19:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 17:28:34 +0000 (18:28 +0100)
commitb052ea0f5b62341861d9faea0d440f133790a89f
treeb3d5afe82ee25b5b024900feb0db82e3de227804
parentc8fb53357dbf15ed8cd881c4f810cd1170b1e501
avcodec/hevc: clear filter_slice_edges() on allocation

This avoids use of uninitialized memory
Fixes: asan_static-oob_17aa046_582_cov_212287884_DBLK_G_VIXS_1.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8aa8d12554868c32436750f881954193087219c8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c