diff --git a/libavcodec/h264.h b/libavcodec/h264.h index a5fc3a053f..6d6629b043 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -520,7 +520,7 @@ typedef struct H264SliceContext { * H264Context */ typedef struct H264Context { - AVClass *av_class; + const AVClass *class; AVCodecContext *avctx; VideoDSPContext vdsp; H264DSPContext h264dsp;