ffmpeg | branch: master | Andriy Gelman <[email protected]> | Thu Mar  5 
00:02:27 2020 -0500| [1e3d4fa0fb6d98cb55a8e721021be58185aa7c25] | committer: 
James Almer

avcodec/avcodec: Fix typos

Signed-off-by: Andriy Gelman <[email protected]>
Signed-off-by: James Almer <[email protected]>

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

 libavcodec/avcodec.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 6e03cb5902..78c483c25c 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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);
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to