Re: [FFmpeg-devel] [PATCH] avcodec/avcodec: Fix typos

2020-03-17 Thread James Almer
On 3/5/2020 2:02 AM, Andriy Gelman wrote:
> From: Andriy Gelman 
> 
> Signed-off-by: Andriy Gelman 
> ---
>  libavcodec/avcodec.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 5a0fc3405c5..8cda2422efa 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -5037,7 +5037,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);
>  
> @@ -5053,8 +5053,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);

Applied. Thanks.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avcodec/avcodec: Fix typos

2020-03-11 Thread Andriy Gelman
On Thu, 05. Mar 00:02, Andriy Gelman wrote:
> From: Andriy Gelman 
> 
> Signed-off-by: Andriy Gelman 
> ---
>  libavcodec/avcodec.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index 5a0fc3405c5..8cda2422efa 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -5037,7 +5037,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);
>  
> @@ -5053,8 +5053,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);
>  
> -- 
> 2.25.0
> 

ping

-- 
Andriy
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec/avcodec: Fix typos

2020-03-04 Thread Andriy Gelman
From: Andriy Gelman 

Signed-off-by: Andriy Gelman 
---
 libavcodec/avcodec.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 5a0fc3405c5..8cda2422efa 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -5037,7 +5037,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);
 
@@ -5053,8 +5053,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);
 
-- 
2.25.0

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".