From f435d081b0a64b3a0c14f37bcdebed01df51d56a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 9 Feb 2016 17:25:49 -0500 Subject: h264: Add an AVClass pointer to H264Context Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer Signed-off-by: Vittorio Giovara --- libavcodec/h264.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 13b149fe48..72ad3525b8 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -465,6 +465,7 @@ typedef struct H264SliceContext { * H264Context */ typedef struct H264Context { + const AVClass *class; AVCodecContext *avctx; VideoDSPContext vdsp; H264DSPContext h264dsp; -- cgit v1.2.3