diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2016-02-10 01:25:49 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-23 03:08:56 +0300 |
commit | f435d081b0a64b3a0c14f37bcdebed01df51d56a (patch) | |
tree | a64ea2c173a1aab4cbaf20568dec21b47db425ec /libavcodec/h264.h | |
parent | 0837d1dfe28f8c461e23404ecb11b0bde1d16af2 (diff) |
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 <michaelni@gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |