From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B833442D93 for ; Sat, 6 Aug 2022 23:54:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2510168B6D1; Sun, 7 Aug 2022 02:54:42 +0300 (EEST) Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 81BDE68B353 for ; Sun, 7 Aug 2022 02:54:35 +0300 (EEST) Received: by mail-vs1-f42.google.com with SMTP id 125so5827970vsd.5 for ; Sat, 06 Aug 2022 16:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=ms6Hp1CrT/V2Y+XlsZo/aXNoZYlnbfZJv8FQZxvOWtU=; b=NZPTnmgA8g6KVRyHdIOPs5pI16570xH0mrqz9aHV+GvnrXI45bb+eVVKoyQagCAvZf ks8Ka8FL+5ur9Bcpn76dgG7NrtlZSfk69Rt0IaknRD8H0kjEOf5X3QRetWx0Ay6d+tGj bpAXrYM3oYdBVFy3Phgb//YFOUJjvQbewFz1WUgL14E53xH4ujMxxsImLAibzbJAzZ84 zUuGh9dtO2sb2axKRdsFJWxLUBG/7z8F0R52qwjoy3B95Suqqe/hxtrNelx3yM+TjscU 9UVbcxYbRYM7TrIySeA3gEfFd0jE/XNaXtsGfoTqzmq3HCm3VDASiItqRqMmw8L098Aw rgRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=ms6Hp1CrT/V2Y+XlsZo/aXNoZYlnbfZJv8FQZxvOWtU=; b=d6KWF4jzt8duItrc6XHheiGBrRBsC1WBxPs9+GB1GGURY97N+8J8RxC4ufda+Z8J3o hcYmPCYOb6bszm657bvDxXZiM/T9lC83NxkET74PxVETB+toFDhvZspM482qYwvXu3UH txrwCQbZS4d4F27TfjeLi3TWjP8bZzuJONljyaoPJZqQ/mkKHO4rb8c0ZmstWFUKDpNY PzColB//4T58L1c21SroI+TcDkkpFbSjGqwe01IPvAddk2oQVJ/TpsFvek0y3joLodOb BctVQDKKnJ8Q54slk+KY4EktVBRthYVsDjIgRKA96MV3g4a2xbDr5oLheUL5rFxyNWcT 9otA== X-Gm-Message-State: ACgBeo09G4NzLUCVSCMCQgCeCg/5dzDlUVrKTofbRFs8jO8AqZZEhSVN fv6HIIaNZxrqSkx1+GX/Byel+WW++vA= X-Google-Smtp-Source: AA6agR7EvMrBcXyH2pqf6Qun0Igy0g0u5h1N1vIdW5M3VSw0CdB2EjxdGSGEWZW75ro1RBcmH/VhlQ== X-Received: by 2002:a67:b74f:0:b0:388:9c36:9d0c with SMTP id l15-20020a67b74f000000b003889c369d0cmr1474136vsh.84.1659830073489; Sat, 06 Aug 2022 16:54:33 -0700 (PDT) Received: from [192.168.0.11] ([186.136.131.204]) by smtp.gmail.com with ESMTPSA id j145-20020a1fa097000000b003768e235513sm6231886vke.0.2022.08.06.16.54.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Aug 2022 16:54:32 -0700 (PDT) Message-ID: Date: Sat, 6 Aug 2022 20:54:34 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220805231759.2922-1-jamrial@gmail.com> From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfiltergraph: remove unnecessary channel layout copy X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 8/6/2022 8:42 AM, Nicolas George wrote: > James Almer (12022-08-05): >> It's not modified, so we can simply use a const pointer to it. >> Also check the return value of the other copy in the function while at it. >> >> Signed-off-by: James Almer >> --- >> libavfilter/avfiltergraph.c | 15 ++++++++------- >> 1 file changed, 8 insertions(+), 7 deletions(-) > > Ok, thanks. > > Regards, Applied. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".