[FFmpeg-cvslog] avcodec/encode: Fix outdated comment

Andreas Rheinhardt git at videolan.org
Sat Aug 27 05:29:22 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Aug 24 03:18:47 2022 +0200| [3fdfd4b725cf84b6dd9dddb53cd37c12cb3ce76f] | committer: Andreas Rheinhardt

avcodec/encode: Fix outdated comment

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3fdfd4b725cf84b6dd9dddb53cd37c12cb3ce76f
---

 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



More information about the ffmpeg-cvslog mailing list