diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 9f888992c8e252f6fafd71148cbc89c4d9c7e0b3..c12d4ebf555fbc4720439d42859f7341f9a9da5d 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2762,6 +2762,7 @@ typedef struct AVCodec {
     const enum SampleFormat *sample_fmts;   ///< array of supported sample formats, or NULL if unknown, array is terminated by -1
     const int64_t *channel_layouts;         ///< array of support channel layouts, or NULL if unknown. array is terminated by 0
     uint8_t max_lowres;                     ///< maximum value for lowres supported by the decoder
+    AVClass *priv_class;                    ///< AVClass for the private context
 } AVCodec;
 
 /**