diff mbox series

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

Message ID 1593348908-23624-1-git-send-email-lance.lmwang@gmail.com
State New
Headers show
Series [FFmpeg-devel] avcodec/internal: fix the outdating comments for ff_add_cpb_side_data() | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Lance Wang June 28, 2020, 12:55 p.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

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

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

Comments

Moritz Barsnick June 29, 2020, 11:36 a.m. UTC | #1
On Sun, Jun 28, 2020 at 20:55:08 +0800, lance.lmwang@gmail.com wrote:
> From: Limin Wang <lance.lmwang@gmail.com>
> Subject: avcodec/internal: fix the outdating comments for ff_add_cpb_side_data()

"outdated"

> - * Add a CPB properties side data to an encoding context.
> + * Add a CPB properties side data to an codec context.

"a codec"

Thanks,
Moritz
Lance Wang June 29, 2020, 1:39 p.m. UTC | #2
On Mon, Jun 29, 2020 at 01:36:00PM +0200, Moritz Barsnick wrote:
> On Sun, Jun 28, 2020 at 20:55:08 +0800, lance.lmwang@gmail.com wrote:
> > From: Limin Wang <lance.lmwang@gmail.com>
> > Subject: avcodec/internal: fix the outdating comments for ff_add_cpb_side_data()
> 
> "outdated"
> 
> > - * Add a CPB properties side data to an encoding context.
> > + * Add a CPB properties side data to an codec context.
> 
> "a codec"

thanks, will update them.

> 
> Thanks,
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 8771078..505d79e 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 an codec context.
  */
 AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);