From patchwork Mon Jun 29 13:53:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 20730 Delivered-To: andriy.gelman@gmail.com Received: by 2002:a25:80ca:0:0:0:0:0 with SMTP id c10csp2830397ybm; Mon, 29 Jun 2020 06:54:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwky1j7LwFC6PVyI/6smrHky2mJn4uZbN/AAFrotIu8BEQLDa5EpWtXPdUA1Pu869gauIQh X-Received: by 2002:adf:d1a9:: with SMTP id w9mr17233601wrc.344.1593438845406; Mon, 29 Jun 2020 06:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593438845; cv=none; d=google.com; s=arc-20160816; b=AcaWW2JQjGOaDzIrhi65v9EvIbhPghhvSg5wGBze1TjLt6LVmm4MAPyQ2+f3BJPZS6 ufGm7IWJZUFxaxae2Sx3gPSmaL8miJHlRBdAyvodHfzjlsA6NuRZiDq2YYz8i1yPUGJA FlaXN6DQbPK1RG5N60Dq3E9FofhHxtPyAgCYAGbDd3d1YfurIFrKdbQu65p/SrQQVzxx TjM3S5MgBq8btLmE9dasJq7vcyBkgjPX9G3serMmu1JdPHxfEK6k1nI2/R2YLgI/DmB6 HOOxjobFjH37DP4M5EqyTTHX6z1bKggyepPOLijdpzigzPd9YY74N7AwrIzsUa8hhU/L EmeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=dcDr+Zny0JXRvHjrn8DcOKS+ddJwYKAnpW4dkiXeees=; b=Fg2eiIXIHrIRlHMk7sskOZWFSCFIX6b+kzxxiejl5STR5vk137CsfORDOrrmUHggC4 qWvPtRVbUGk2fPIMI6N7RtbSywb3NDv2g2cvtFTSKvY9xoqN23SAwZOu5XiGA2GvjTuo 1x4O48oT3NAqRRxRG/0iXoR6w4ziG6AMz9Iz49cxrFeZShru6JBVBDmx+eiNRDph1tCA VlBYcxNxaep82Xqiv+NPokuIewfkkschD2SlX0FyaoVslW3MjMJc8doT9Cz0r706Ntl6 ahIplNJYbQOjST6PwKk6niuLrIlzZCZjxB1gX8r6owBkk9ofjKM6in3N9AGreTZKbTkX y7Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f3hwEId7; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q79si43471wme.171.2020.06.29.06.54.05; Mon, 29 Jun 2020 06:54:05 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=f3hwEId7; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4A35D68A8F8; Mon, 29 Jun 2020 16:54:02 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ECBEB68A427 for ; Mon, 29 Jun 2020 16:53:54 +0300 (EEST) Received: by mail-pf1-f196.google.com with SMTP id x3so2411597pfo.9 for ; Mon, 29 Jun 2020 06:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p/nLUZtoGM/lqvwCk8QxKcu9Zsuv2/n2s7VX6QUZMAk=; b=f3hwEId7bazphVqX44AeD69SJuGTpxJ56JDBMCnS+uLzzCdzSvpmv1T7ys+NvVD9nL fK1lvT2TgegqlmTwRGn3lzx5/KiFpgX6fRiSNAJuNHfBKLi+6R2iar79Lu/ajkkn+3wh H5DfUr3Oz/5mNE+pk0dGm76Cy/KAuLcDnJPlzoCX3ptnPvQ6zcg/xS9f8pB8exoW0+4T W5pR8cifbC2NZjmiHtHpRaQpqKMQTKoWr7whdZqo1IGMlq5donkmYkosxwfxSELbZM3V DJREZcEyWL4KWd/safVx7QQ0YqZI8/OTG19IGR/KbQQc6IHJh80saJy8XFiwA5EiVi2A rSNA== 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:in-reply-to :references; bh=p/nLUZtoGM/lqvwCk8QxKcu9Zsuv2/n2s7VX6QUZMAk=; b=n4WDOYjYShBKstZCxYLm0zJdNklV5m/NRkTNLw36bfxhb8XjF9LloB2qwQZhEVVFuu 0b6eET/PTxlcFnougbAhOWgLcqumvRirDa9FhB6V8YCHrnyxBsBkFBHdqQanz17ti5Fx Jap6J06Y5n43UjFAvTCeXvDm6HfcJHZytwOzUj+7umo7WoRc1ncwukUUVcU708ysZ/2n pC7Awj7I4N0WocSGWCaqhanT/vwXwdqs5a8nGFFn52sZpMnHsPMX5LftU9sgYlZkVub6 z3KsrqkJPm9OiYBou3MCWW5eiQMFBFeuXb4UaqSPxg4gYiP19oH5gSQC4r+rP0K0hx0P STcg== X-Gm-Message-State: AOAM532K8+vCNK/K8+MKd1cw1DftjsLRduvTiHwpWTWEqu7mfz486TDK ExBlnEDUSIomhnugxX80xvZZHucd X-Received: by 2002:a63:417:: with SMTP id 23mr9929938pge.44.1593438832839; Mon, 29 Jun 2020 06:53:52 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id o23sm92699pfd.126.2020.06.29.06.53.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2020 06:53:52 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Mon, 29 Jun 2020 21:53:48 +0800 Message-Id: <1593438828-7668-1-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1593348908-23624-1-git-send-email-lance.lmwang@gmail.com> References: <1593348908-23624-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v2] avcodec/internal: fix the outdated comments for ff_add_cpb_side_data() 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: +wBdSci0E/r7 Content-Length: 1415 From: Limin Wang It's used for decode and encode in fact, so it's more proper to change the encoding to codec in the comments. Signed-off-by: Limin Wang --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 8771078..8705b38 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 a codec context. */ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);