Module: libav
Branch: master
Commit: f435d081b0a64b3a0c14f37bcdebed01df51d56a

Author:    Michael Niedermayer <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Tue Feb  9 17:25:49 2016 -0500

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 <[email protected]>
Signed-off-by: Vittorio Giovara <[email protected]>

---

 libavcodec/h264.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 13b149f..72ad352 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to