]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/avcodec: Fix typos
authorAndriy Gelman <andriy.gelman@gmail.com>
Thu, 5 Mar 2020 05:02:27 +0000 (00:02 -0500)
committerJames Almer <jamrial@gmail.com>
Wed, 18 Mar 2020 03:58:07 +0000 (00:58 -0300)
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/avcodec.h

index 6e03cb5902bdec77ec300ab326b0cd5e4e077fd1..78c483c25c5ff6afa99f5eef8b3b427e12116f39 100644 (file)
@@ -5047,7 +5047,7 @@ int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame);
  *      AVERROR(EINVAL):   codec not opened, refcounted_frames not set, it is a
  *                         decoder, or requires flush
  *      AVERROR(ENOMEM):   failed to add packet to internal queue, or similar
- *      other errors: legitimate decoding errors
+ *      other errors: legitimate encoding errors
  */
 int avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame);
 
@@ -5063,8 +5063,8 @@ int avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame);
  *                         must try to send input
  *      AVERROR_EOF:       the encoder has been fully flushed, and there will be
  *                         no more output packets
- *      AVERROR(EINVAL):   codec not opened, or it is an encoder
- *      other errors: legitimate decoding errors
+ *      AVERROR(EINVAL):   codec not opened, or it is a decoder
+ *      other errors: legitimate encoding errors
  */
 int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt);