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 24D1B460D6 for ; Fri, 3 Nov 2023 00:05:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F237268CCE5; Fri, 3 Nov 2023 02:05:15 +0200 (EET) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 688C768CB91 for ; Fri, 3 Nov 2023 02:05:09 +0200 (EET) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-53e08e439c7so2653761a12.0 for ; Thu, 02 Nov 2023 17:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698969908; x=1699574708; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=yC/5IwdS/ehwnoSTAnK9YKmySDNOuVwsNr6ZAf/FYto=; b=V0QWh4fMosLsdBPN/VIZU39u81igIFoiQuD7QnxJdC2dSelgptdLjpHGCWd5W0/6Ac Gh08mwiai/fB46KCbzLhJCpMR9r8a2IT1UjcOdFevPY77OhfdvebmWOvIT4fwOpBZLFJ rzZesHL/b6abM7ZhgrW2n4OTyo7ACbeSK8hS8uo4rw0viXDQhJ7ZclxeOgrFpCwsuwJJ lPAtzj243E4Tct4A9+jbwYN4kWiX1iD7hxNjiJw0EsMUewCnmC/Ka2QPyyaD/ExxD3hm ddx5cF1GO7/qs5782OOcFZjwIhmwZRSssRVFA3x3BgWPANtpNSWPI05VheoI4+6Z1SZU v0xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698969908; x=1699574708; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yC/5IwdS/ehwnoSTAnK9YKmySDNOuVwsNr6ZAf/FYto=; b=Q5DTMGCjTH7yumB9ttGls5coua+iSb4u1kadIuWnPI9x1OHWvwlMosIiUXArkXvGul x28zL6xPpT464M6zfHQDD3vt3y8JgjT6mhzG5R0+I3ghxH4e5tlYJuyw4iZyd4+naPjo rHVONP1evsippdHUN1c0zfNL2kEpzyTgza8doo6HeuY5g75r7/zrHUh8kydppMN1L0h/ 9v1p3UkRpF2Ftc2D9WtuDW3FkfeW89hN23Uk5kTDCf1iXPqtsigLiJzrNuHgBRtXMFie 8xgMrMMvZSdTo2asCOF+U6y+tMJq5RIXmhqRvgqHUIiLTdy0P2itz1ArufBn7H/WrGsX MC6w== X-Gm-Message-State: AOJu0Yx4jlQOlyAn5k2l7gGzjfiuPn78P8NAKL+L75QZIyhkg1rBsBVI h0Ukcr6y0WoXk0h6yaBMCn5p9ea0o8+by9g/++jsBkf2 X-Google-Smtp-Source: AGHT+IG6dXaqnce7bmFsS5RfR8Ttx12em6PTLHCkMqFxRB85cEeHnTfs2chNZleHvzIMlKHPcG/3ulhlU6qh8+FLSGc= X-Received: by 2002:a05:6402:28a:b0:53d:a0c9:dbd4 with SMTP id l10-20020a056402028a00b0053da0c9dbd4mr14920700edv.21.1698969908378; Thu, 02 Nov 2023 17:05:08 -0700 (PDT) MIME-Version: 1.0 References: <20231102235016.3935-1-michael@niedermayer.cc> <20231102235016.3935-2-michael@niedermayer.cc> In-Reply-To: <20231102235016.3935-2-michael@niedermayer.cc> From: Sean McGovern Date: Thu, 2 Nov 2023 20:04:58 -0400 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 2/4] avfilter/buffersink: cuddle () closer around = 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Thu, Nov 2, 2023, 19:50 Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavfilter/buffersink.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c > index 9426ded7ee3..ca2af1bc077 100644 > --- a/libavfilter/buffersink.c > +++ b/libavfilter/buffersink.c > @@ -293,7 +293,7 @@ static int asink_query_formats(AVFilterContext *ctx) > cleanup_redundant_layouts(ctx); > for (i = 0; i < NB_ITEMS(buf->channel_layouts); i++) > if ((ret = av_channel_layout_from_mask(&layout, > buf->channel_layouts[i])) < 0 || > - (ret = ff_add_channel_layout(&layouts, &layout) < 0)) > + (ret = ff_add_channel_layout(&layouts, &layout)) < 0) > return ret; > for (i = 0; i < NB_ITEMS(buf->channel_counts); i++) { > layout = FF_COUNT2LAYOUT(buf->channel_counts[i]); > -- > 2.17.1 > > _______________________________________________ > 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". > This and 1/2 seem a bit frivolous, but providing they don't violate the project style guide, LGTM. -- Sean McGovern > _______________________________________________ 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".