From patchwork Thu Mar 5 05:02:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andriy Gelman X-Patchwork-Id: 18038 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 85BE244AB2E for ; Thu, 5 Mar 2020 07:10:36 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5D2AA689C5D; Thu, 5 Mar 2020 07:10:36 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 98D47689BEA for ; Thu, 5 Mar 2020 07:10:29 +0200 (EET) Received: by mail-qt1-f194.google.com with SMTP id o10so3244716qtr.7 for ; Wed, 04 Mar 2020 21:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ha4pPDK9HDg9MF4e3kyphg8WDNb5+DQKV0f+xjiyP5Q=; b=BtoojS/cX2jjffhjd3xDg3KHQsz+/MP5eomMjqKosKeMq7Q0vssA18XBrfzRQRqCNT +stS7CGRjT+EA9rTDpns8iRqjG9chr67WUpVb2hTNiTLWSVgz7yI0Bcs6WiVgzRhzp+f Z5KWnN1pLZWgPdQ8vPE/MhH3yLlhWpvx9TwmHXCi+uWvC1hCmyCfkEqy6Tv4DNB1qv8M +C00/2J8rF4djA1D3FByxSI7VQD5Bw09v/X3EJtBq08HBo08jD+/ZrEqQubUASrAlQhG DJfECvKSpkXkK6pKCHt5eicZLLPivD9BCplVIn6kwfcBBlAVwRUwL5comiI2Ce3MSCJO eVig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ha4pPDK9HDg9MF4e3kyphg8WDNb5+DQKV0f+xjiyP5Q=; b=CLKTyCvpy4ikS6HJOspfiVexjPgcGATPxZi+xCKs+uB979Y4w+8+IXmt8xtStKuprE tOuiC61MfEmx/+wvEGPy9xkkkN6o1shIrsJyWw6N1r3/Y4g7y3IIVTwUEqAdvrVZWP/B zUpVf4HDqyNxoPSdGSHe+DS9XA/59GdexFxPLYBqIe5e5Kwf6mpHygeZZO61/L6C68dA U0H1ENGibzX63uPgg/Qe7mBO8dFjO6gktDiVqGfIgaNksMWCI1+z3XyogajzOe/PqbDI R3aNM8u7+j5jXdAannzDhEV5oy0lu+2b99V80NZt91iaRlHjw/9nU0qeM0WbSgCUkMel wQWw== X-Gm-Message-State: ANhLgQ0HuxXeSbLmbjlc6h+DAYE/T/HSu8vsea8HlrTDPW6BMp/gIWaQ uJfGZlQQva3PyaVjzO+Tgw6qbs4N X-Google-Smtp-Source: ADFU+vvSkWDbn53y/tL7u9qVawQa+qrTZQPTO3hkFkfnuAzaKN5VGY/nYRpD2nbcjXqhviUbsezh9Q== X-Received: by 2002:ac8:424f:: with SMTP id r15mr5587100qtm.71.1583384560669; Wed, 04 Mar 2020 21:02:40 -0800 (PST) Received: from localhost.localdomain (c-71-232-27-28.hsd1.ma.comcast.net. [71.232.27.28]) by smtp.gmail.com with ESMTPSA id o3sm14876113qkk.87.2020.03.04.21.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 21:02:40 -0800 (PST) From: Andriy Gelman X-Google-Original-From: Andriy Gelman To: ffmpeg-devel@ffmpeg.org Date: Thu, 5 Mar 2020 00:02:27 -0500 Message-Id: <20200305050227.26118-1-andriy.gelman@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/avcodec: Fix typos X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andriy Gelman Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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);