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 EC5134307C for ; Thu, 13 Jan 2022 16:59:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9B73E68B443; Thu, 13 Jan 2022 18:59:30 +0200 (EET) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8EF5E68B435 for ; Thu, 13 Jan 2022 18:59:23 +0200 (EET) Received: by mail-qt1-f175.google.com with SMTP id y17so7555695qtx.9 for ; Thu, 13 Jan 2022 08:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=CZ4qeWesOevgEFhRPb73c1p4dDSudjN7XvhRG+IQKDs=; b=R0Ld2QVBZS38ylyE8LyzJz24dz13Nn29ltzq5wot25cX180LiFvw5V1pLzfearHwTl 78s/3wRBCpNbqSxdMj/gw1GqMgZfj6UHY5irRbaL9NMgQLWssFwovlmzpyfWRsUihMla tmemeAGgd+zVG7kO/6DtizC9NoZyXEZv6CrchtKbmVd9TFXEe8TG35+VKvzMhckWzERg 9jV/41XoLKmcL68VMwwBITioLjIXGFbv1HTon3LXpS85LIN/BXZ1q1ftE9wtXrVvSXS6 IpCqEtdxY2t5BbGooyQ/0jMpIi0kNtsRIRIdkHW04bVGMFVDPQQ+qm1ualn/hO8SgIGM IjIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=CZ4qeWesOevgEFhRPb73c1p4dDSudjN7XvhRG+IQKDs=; b=mvlW/JuzesV6nJTeW5wh3bphwDI8VETqfAkGy4wkPW+z1RRVNKslOgqW9keb/Wr+kb Q6CXzEKdBMa/ORnRgpHd6iSUfhEOGIg5/qSzEDDT7Ka+r1oAynWYUniMQJhLdXFK2oCF saJ2A+NbrdEEtVCRNIvnykALiF++jhgt5fB93Yd6Ohs7FqOrktYtH0Cm+CrpaE/5gmLf w5p+fUILlp3UHXPGTyG9vrDGToyUS6UsRna8dlg2GRR7+3hp+7f7yOy2GDQj6CN/v8mG G3mcsIwxNmlisHqIS6H/SSN+KWjHkulrkdl6qgD/IWjS9JGY6eW/lKK+rQWj7dr2NOyL tXow== X-Gm-Message-State: AOAM532qBEVHu3O14lZ8/2+c7H1oAkzeMNMwRbpPBESzJg2JfQv0aK0N 7n1vYzbRmTiq5v1/neh28jXeCCNhP1w= X-Google-Smtp-Source: ABdhPJzCGd+wh/pUXuqPmzDb0RydY6k12Hfw6oFes2nc7APNrHiwDjw9L9gqXrCHczVEijNvW5Rzyw== X-Received: by 2002:ac8:5e4a:: with SMTP id i10mr4248031qtx.569.1642093161947; Thu, 13 Jan 2022 08:59:21 -0800 (PST) Received: from [192.168.0.13] ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id r20sm26211qkp.78.2022.01.13.08.59.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jan 2022 08:59:21 -0800 (PST) Message-ID: <568987c3-f124-f0cb-9048-f3199ec207df@gmail.com> Date: Thu, 13 Jan 2022 13:59:19 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220111204610.14262-1-anton@khirnov.net> <20220111204610.14262-3-anton@khirnov.net> From: James Almer In-Reply-To: <20220111204610.14262-3-anton@khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH 03/35] lavu/fifo: introduce the notion of element size 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 1/11/2022 5:45 PM, Anton Khirnov wrote: > +/** > + * Allocate and initialize an AVFifoBuffer with a given element size. > + * > + * @param f pointer to the newly-allocated FIFO will be written here on success > + * @param nb_elems initial number of elements that can be stored in the FIFO > + * @param elem_size Size in bytes of a single element. Further operations on > + * the returned FIFO will implicitly use this element size. > + * @param flags currently unused, must be 0 > + * > + * @return newly-allocated AVFifoBuffer on success, a negative error code on failure > + */ > +AVFifoBuffer *av_fifo_alloc2(size_t elems, size_t elem_size, > + unsigned int flags); The documentation doesn't match the signature. _______________________________________________ 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".