[FFmpeg-devel] [PATCH v2] avcodec/internal: fix the outdated comments for ff_add_cpb_side_data()

lance.lmwang at gmail.com lance.lmwang at gmail.com
Mon Jun 29 16:53:48 EEST 2020


From: Limin Wang <lance.lmwang at gmail.com>

It's used for decode and encode in fact, so it's more proper to change
the encoding to codec in the comments.

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 libavcodec/internal.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 8771078..8705b38 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -360,7 +360,7 @@ int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt);
 int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame);
 
 /**
- * Add a CPB properties side data to an encoding context.
+ * Add a CPB properties side data to a codec context.
  */
 AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);
 
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list