From 3fdfd4b725cf84b6dd9dddb53cd37c12cb3ce76f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 24 Aug 2022 03:18:47 +0200 Subject: [PATCH] avcodec/encode: Fix outdated comment Signed-off-by: Andreas Rheinhardt --- libavcodec/encode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/encode.h b/libavcodec/encode.h index 10c36435ad..e5d6b754b1 100644 --- a/libavcodec/encode.h +++ b/libavcodec/encode.h @@ -57,7 +57,7 @@ int ff_encode_alloc_frame(AVCodecContext *avctx, AVFrame *frame); /** * Check AVPacket size and allocate data. * - * Encoders supporting FFCodec.encode2() can use this as a convenience to + * Encoders of type FF_CODEC_CB_TYPE_ENCODE can use this as a convenience to * obtain a big enough buffer for the encoded bitstream. * * @param avctx the AVCodecContext of the encoder