Browse Source

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>
tags/n3.1
Michael Niedermayer Vittorio Giovara 9 years ago
parent
commit
f435d081b0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.h

+ 1
- 0
libavcodec/h264.h View File

@@ -465,6 +465,7 @@ typedef struct H264SliceContext {
* H264Context
*/
typedef struct H264Context {
const AVClass *class;
AVCodecContext *avctx;
VideoDSPContext vdsp;
H264DSPContext h264dsp;


Loading…
Cancel
Save