From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 695DF4D340
	for <ffmpegdev@gitmailbox.com>; Wed, 16 Apr 2025 23:08:10 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 32CF5687D43;
	Thu, 17 Apr 2025 02:08:06 +0300 (EEST)
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
 [217.70.183.193])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7B39F687CF9
 for <ffmpeg-devel@ffmpeg.org>; Thu, 17 Apr 2025 02:07:58 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 65F2C42E80
 for <ffmpeg-devel@ffmpeg.org>; Wed, 16 Apr 2025 23:07:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1744844877;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=TtiwkLept/2WREOTmUPLxBxhYvyI2VqIbSifwgEWxxA=;
 b=C5R99tPL3tmKGOHWcd/DhzSbL91TFD5Wye7Np6j8G2ddfgro2BiWg0f7X8vlf8wdAPRHjl
 +SeM6cPtiA0NY7KLLpqVn+nfDEadSQ0+6p3J3NEcQwWIXOSN9ZK4FxDqgaX58i2QaTaGey
 q3wJ9MtJt31ItGiUHzGiwBTkx+cxxVVfb2YvWxztOKhKRbz2JrNsAtk0NEi3amvuXWG2B5
 LZYqHGxAX0FanpkKwte1vsLK//m1zedGE3Ow2BaEtAfUXkm7q0uMIBMph+KFcIO88D1BD+
 k1Y0FVDHb1rhLHPhjzVd3VkaedWgsSADiBOG6+pUXgjEtxTBgpjQUSTnSa2uNg==
Date: Thu, 17 Apr 2025 01:07:56 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250416230756.GP4991@pb2>
References: <20250416201208.2827641-1-michael@niedermayer.cc>
 <DM8P223MB036559EBCB2C822F98D56A3FBABD2@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM>
MIME-Version: 1.0
In-Reply-To: <DM8P223MB036559EBCB2C822F98D56A3FBABD2@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM>
X-GND-State: clean
X-GND-Score: -70
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvvdejieehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH] avutil/map: replace passing Compare
 functions by flags
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============5115191931950211564=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250416230756.GP4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============5115191931950211564==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="Ivb/tmuyoif3SkwZ"
Content-Disposition: inline


--Ivb/tmuyoif3SkwZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 16, 2025 at 08:22:18PM +0000, softworkz . wrote:
[...]
>
> That's a good change, because it was in fact confusing.
>=20
> Another confusing part of the API is the need for specifying the=20
> lengths of key and value - and I finally figured out why it=20
> didn't retrieve any elements: those values need to be strlen + 1
>=20

> I think the final API should not require any length params
> (or at least it should have a function that doesn't need it)

its there because people asked for support for non string data
ill add a
int av_map_add_strings(AVMap *s, const char *key, const char *value, int fl=
ags);

thx

[...]
--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.

--Ivb/tmuyoif3SkwZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaAA4SAAKCRBhHseHBAsP
q8zKAKCAJNttecVP5Aug6GMYS3rFJqXZ3ACcDLOGaU6hOLv6iuDPd3lt3syBFg0=
=lsV7
-----END PGP SIGNATURE-----

--Ivb/tmuyoif3SkwZ--

--===============5115191931950211564==
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".

--===============5115191931950211564==--