diff --git a/libavutil/log.h b/libavutil/log.h index 2c159c2eaf..0ff1f9fcff 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -33,7 +33,7 @@ struct AVCLASS { or AVFormatContext, which begin with an AVClass. Needed because av_log is in libavcodec and has no visibility of AVIn/OutputFormat */ - struct AVOption *option; + const struct AVOption *option; }; /* av_log API */