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>
Tue, 20 Jan 2015 02:27:17 +0000 (03:27 +0100)
commit50e04b3f3ca961044d088b2c7a94fe94bc4ef9c5
treefdb9659163fb76fcef744f40a3b381fe3245fbf8
parent226727f08fb06c958e17be413b97701dcadd122b
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>
(cherry picked from commit f3b5b139ad853b6f69c6a0b036815a60e7b3f261)

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