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 D2DC046DD0 for ; Tue, 11 Jul 2023 23:24:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 921B368C60B; Wed, 12 Jul 2023 02:24:50 +0300 (EEST) Received: from mx.sdf.org (unknown [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3EE8068C1CF for ; Wed, 12 Jul 2023 02:24:43 +0300 (EEST) Received: from 4eb231a0d1b36cedda43a2a005befe4d ([1.136.141.222]) (authenticated (0 bits)) by mx.sdf.org (8.16.1/8.14.5) with ESMTPSA id 36BNORxR001174 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Tue, 11 Jul 2023 23:24:40 GMT Date: Wed, 12 Jul 2023 09:24:23 +1000 From: Peter Ross To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <50644e0d-4a30-b492-cdc1-2b37b2b297c1@gmx.de> MIME-Version: 1.0 In-Reply-To: <50644e0d-4a30-b492-cdc1-2b37b2b297c1@gmx.de> Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/ansi: fix ECMA-48 SGR parameter 49 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: multipart/mixed; boundary="===============5648693435079385831==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5648693435079385831== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rYN0+HKhZu2nyqWn" Content-Disposition: inline --rYN0+HKhZu2nyqWn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 10, 2023 at 12:06:33AM +0200, Jonas Lindner wrote: > As can be seen in man console_codes this parameter sets the default > background color >=20 > Signed-off-by: Jonas Lindner > --- > libavcodec/ansi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c > index 49c3770c4c..d8d32bafbd 100644 > --- a/libavcodec/ansi.c > +++ b/libavcodec/ansi.c > @@ -330,7 +330,7 @@ FF_ENABLE_DEPRECATION_WARNINGS > s->bg =3D index < 16 ? ansi_to_cga[index] : index; > i +=3D 2; > } else if (m =3D=3D 49) { > - s->fg =3D ansi_to_cga[DEFAULT_BG_COLOR]; > + s->bg =3D ansi_to_cga[DEFAULT_BG_COLOR]; Well spotted. Applied. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --rYN0+HKhZu2nyqWn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCZK3kpAAKCRBnYHnFrEDd a+wzAJsGxVBH45OkQA4X6uyZYZ8DglraawCgkLXK8qRaXtJrdiWM5aCeZaZ4N9Y= =cnP0 -----END PGP SIGNATURE----- --rYN0+HKhZu2nyqWn-- --===============5648693435079385831== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============5648693435079385831==--