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 7B42142045 for ; Fri, 25 Mar 2022 21:19:35 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7AA9F68B221; Fri, 25 Mar 2022 23:19:32 +0200 (EET) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C104468B02F for ; Fri, 25 Mar 2022 23:19:25 +0200 (EET) Received: by mail-ej1-f41.google.com with SMTP id qa43so17684489ejc.12 for ; Fri, 25 Mar 2022 14:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xZCeZuwgJOXGebnVVt7GqMo+acf1ZaAjhr7aoQfWoZo=; b=h2+XY1i0TSnxcV1/Q/NG2MRKFHT8+s7noMeBJH3OT9JhsNGc5eD2dhu1JyMOqFPqAn XanszjnbyBgViuAmy3EB5Pa527IaePMxPm87tX0tpR/jNNDH+dSS59pNR1w3IU7H0gf8 5FGdHOVvf36KWkho0tuQF/2PGLF69PeaSVZpEQfXppUlCCKPkPg4sbbxCTT17KlG6+vT lhTUlCm9GbHGn014dCwkZn0p95Kwm2TODgVaoIANnxz5psWyvTeNReANy9UejtOL40FO rONEcf9SA1y+X0ztRvVWFkjBlNDbwhiGdTetTVHop+gG+L+tnxv1vgRkccmruZpfGIpr ly+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xZCeZuwgJOXGebnVVt7GqMo+acf1ZaAjhr7aoQfWoZo=; b=yi6Tm/CLdbxKzCF0YC5Q38qrtVIBhLl8wgltff2nbRsW/o9qHP4Pm/772cDslmrEiQ 4H39kD59RdgYfPGv4wE7wc9lGLCpqo1i0k0OUdaKCI0Jc1pFSrWbbCdZW9eGys94dvck +HeWKAsLCw8F/rgTqW4w5peInByDO8GgdjzaDP5Z1f6+xPmyD0Eo2wGBYKLIWn/YaaLQ egJGNnc/5Z8d4YDfK3CtCAablU26aQP+xQ5QXiugthr6C/4ByOE6SpCdaQNCQoKoiAyL 4eWqv0idQDqo/NxiOqjGdvm1ofqJP3R9alR6MmOR6Kfe7T7QwaXTCOHxhGeZlbtPTXNw zeAA== X-Gm-Message-State: AOAM530ZFnT/ft59AfFvA9bs9mgZ9y0SV/cdwafFs9/rbASK6Ga8qOk5 YtDrGqpphzRaeiQ7hFVAYuVvig9o5XApm3X5lqfn6PB1Th4= X-Google-Smtp-Source: ABdhPJxwMCoHI8bl1T9gp65xNipECCSYpRSlDrrUf4a3c5+UHUG8OQINQ110s5smuGwnRGxCYmhL5Kt6AYW6RrwWClw= X-Received: by 2002:a17:907:d0d:b0:6df:e215:313d with SMTP id gn13-20020a1709070d0d00b006dfe215313dmr13739588ejc.309.1648243164921; Fri, 25 Mar 2022 14:19:24 -0700 (PDT) MIME-Version: 1.0 References: <20220325141041.1748-1-dcnieho@gmail.com> <20220325141041.1748-21-dcnieho@gmail.com> <20220325172617.GX2829255@pb2> In-Reply-To: <20220325172617.GX2829255@pb2> From: "Diederick C. Niehorster" Date: Fri, 25 Mar 2022 22:19:08 +0100 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v4 20/22] doc/examples: adding device_get_capabilities example 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Fri, Mar 25, 2022 at 6:26 PM Michael Niedermayer wrote: > > On Fri, Mar 25, 2022 at 03:10:39PM +0100, Diederick Niehorster wrote: > > This example also shows use of get_device_list API. > > > > Also improve capability API doc in avdevice.h: now point to this example > > instead of rough example code given in the header. > > > > Signed-off-by: Diederick Niehorster > > --- > > configure | 2 + > > doc/examples/.gitignore | 1 + > > doc/examples/Makefile | 1 + > > doc/examples/Makefile.example | 1 + > > doc/examples/device_get_capabilities.c | 243 +++++++++++++++++++++++++ > > libavdevice/avdevice.h | 33 +--- > > 6 files changed, 249 insertions(+), 32 deletions(-) > > create mode 100644 doc/examples/device_get_capabilities.c > > maybe i forgot something but this seems not building It builds for me on MSVC. But searching these warnings and errors, i've learned some new things about C i didn't know because i mostly work in C++. I have locally fixed the -Wstrict-prototypes warnings by adding void as function parameter, and the Werror=missing-prototypes (hopefully) by declaring these internal functions static. Will include in next version, awaiting more comments first. Thanks! Dee _______________________________________________ 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".