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 67405420B0 for ; Tue, 22 Feb 2022 15:01:49 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 291DD688154; Tue, 22 Feb 2022 17:01:47 +0200 (EET) Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 698A868A5BE for ; Tue, 22 Feb 2022 17:01:40 +0200 (EET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zanevaniperen.com; s=key1; t=1645542099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpciAID/ZN5m72OOt8ACC9RCzfiDPUGc8LbWMMlUOh8=; b=gMTU0qbUxtbRrN5ffbKhiihnPLpgoiydIqt2M73gNoIGq4iX217RvLodaVKmWnPuc3eJK2 OZ+cSKQ18YPUX9rSq/Ni7TlJcE0NcPiqAr5TikzbgWtOAi5xuWrc5vjS8OK854TQMum2eV uR3E/6hg9CFEe1F+iZCn943wKoAmdD7NEfF5tpAWmLDn9QsIeoMfYSn4DR/E0WN6T5ZdVB pLXU4De7QCzEG6exSepbx7/DrfK3I7nkb6yF3DnMTPtS2gWloxFOgVrKybR+w9Tk5zDwdV /Em57WA8K8q6FBnESkTepbbDy0jnMf+NQo1AADLQK4NLL0cqZA8khlX2RYJl9Q== Date: Wed, 23 Feb 2022 01:01:36 +1000 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220222130153.289215-1-zane@zanevaniperen.com> <20220222130153.289215-2-zane@zanevaniperen.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zane van Iperen In-Reply-To: <20220222130153.289215-2-zane@zanevaniperen.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: zanevaniperen.com Subject: Re: [FFmpeg-devel] [PATCH 1/7] avutil/uuid: add utility library for manipulating UUIDs as specified in RFC 4122 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 22/2/22 23:01, Zane van Iperen wrote: > +int av_uuid_urn_parse(const char *in, AVUUID uu) > +{ > + return av_uuid_parse(in + 9, uu); Self-review: this should check if "strlen(in) == 45", then simply return av_uuid_parse_range(in + 9). _______________________________________________ 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".