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 20DED42B8C for ; Fri, 27 May 2022 22:18:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C452368B606; Sat, 28 May 2022 01:18:29 +0300 (EEST) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 150E968AF21 for ; Sat, 28 May 2022 01:18:23 +0300 (EEST) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 24RMIMIC002769-24RMIMID002769 for ; Sat, 28 May 2022 01:18:22 +0300 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id 7433CA142D for ; Sat, 28 May 2022 01:18:22 +0300 (EEST) Date: Sat, 28 May 2022 01:18:22 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20220525095338.3494742-1-martin@martin.st> Message-ID: <3edf4d6-15-6443-c9a9-216a33984af@martin.st> References: <20220525095338.3494742-1-martin@martin.st> MIME-Version: 1.0 X-FE-Policy-ID: 3:14:2:SYSTEM X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [GASPP] [PATCH] Ignore trailing whitespace in .ifc directives 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: quoted-printable Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Wed, 25 May 2022, Martin Storsj=F6 wrote: > This fixes handling of cases like ".ifc \foo, bar // comment", where > there was trailing whitespace after the condition (before the comment > which already was stripped out at this point). > --- > Will apply after a couple days. > > This fixes the "lavc/aarch64: add hevc horizontal qpel/uni/bi" patch > when built with MSVC. > --- > gas-preprocessor.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl > index 59c93c1..47cb5ab 100755 > --- a/gas-preprocessor.pl > +++ b/gas-preprocessor.pl > @@ -344,7 +344,7 @@ sub handle_if { > $expr =3D~ s/\s//g; > $result ^=3D $expr eq ""; > } elsif ($type eq "c") { > - if ($expr =3D~ /(.*)\s*,\s*(.*)/) { > + if ($expr =3D~ /(\S*)\s*,\s*(\S*)/) { > $result ^=3D $1 eq $2; > } else { > die "argument to .ifc not recognized"; > -- = > 2.25.1 Pushed this now. // Martin _______________________________________________ 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".