avcodec/h264: make the first field of H264Context an AVClass
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Dec 2014 00:31:48 +0000 (01:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Dec 2014 00:33:06 +0000 (01:33 +0100)
commitf3b5b139ad853b6f69c6a0b036815a60e7b3f261
treea8fe3d79881281517c0bbff8ba299a05890a8af4
parent2a983ff7fe076ae93926eb33cfb44ca49183dacc
avcodec/h264: make the first field of H264Context an AVClass

Fixes use of freed memory
Fixes: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.h