[FFmpeg-cvslog] h264: Add an AVClass pointer to H264Context

Michael Niedermayer git at videolan.org
Fri Mar 4 17:17:41 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb  9 17:25:49 2016 -0500| [f435d081b0a64b3a0c14f37bcdebed01df51d56a] | committer: Vittorio Giovara

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 at gmx.at>
Signed-off-by: Vittorio Giovara <vittorio.giovara at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f435d081b0a64b3a0c14f37bcdebed01df51d56a
---

 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;



More information about the ffmpeg-cvslog mailing list