diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 85eb9ea6ba..3640808765 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -535,7 +535,7 @@ typedef struct AVChapter { * sizeof(AVFormatContext) must not be used outside libav*. */ typedef struct AVFormatContext { - const AVClass *av_class; /**< Set by av_alloc_format_context. */ + const AVClass *av_class; /**< Set by avformat_alloc_context. */ /* Can only be iformat or oformat, not both at the same time. */ struct AVInputFormat *iformat; struct AVOutputFormat *oformat;