From patchwork Sat Jul 22 19:29:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 42917 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:be1d:b0:130:ccc6:6c4b with SMTP id ge29csp1019437pzb; Sat, 22 Jul 2023 12:30:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlEWPGyJ1Kr82pBrjVNPPRv+Q0ahHVoRgrRq2VhAGgcRfcbAnhK52/Ss+4JKYXIgrGH4EyUL X-Received: by 2002:a17:906:648a:b0:997:eab5:f1c6 with SMTP id e10-20020a170906648a00b00997eab5f1c6mr5695681ejm.30.1690054251622; Sat, 22 Jul 2023 12:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690054251; cv=none; d=google.com; s=arc-20160816; b=E/xGdv5sk2fY0IoOxqarhHo5W9oQF91FFaJSyAXXPL+cEG/aorQfo1BU+inGWvDnv/ PDeUhSokaAlJ9h1UY+rXHlG5dmAlS+ynBEkSke9P05atCImO8jygwOVSr74mJCIz4ZQu 3O4++ixa0Ct2klpirF/LddUBywsg1SxYfph3ceLQYPaSSHOTRA0IK/SZH6g+eFsBR32m 2Iohty8V+eKJe1wS6Z5itCOPmSy+uDzf+IeAkiyWA/+tz2xj3gI8s02Q1kv8uS3U+XVQ MFdS9nw6u4cXxKIcYlg5Fif3TcTXs6HmXJ2kifntSIk/YeGO9hQkxnTr2AIvbbcl9OHV Q0Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to; bh=GERlVh1oFLhWEbUzvOG4kysEydoXZq3h8TpBoXysaTc=; fh=YYwLYmpaV0Fpw/rxmSKNRLS2XzDkAlGbHATiKOPtZrY=; b=DcqaOc13I6bAUerw3q2cw6el/ljaiNp5kMONyJsGd9IOwHJudQg1jeM5BcdcUCkLKV X3mlt+K4Z4wpG+AivAAIHkwnvAa3MUvVkI5MzbwPee3mq38Kr+LKXWxz//j2G+T7TubU RxCvkEB5/cldkgMqg0d2nKsn/j/eBUgHx23zgOrxxC6NBhVkmRhkxhB/hCuHtTS2qq9n LQ+OraGvcpxHx4ZBGZBdISNzAwtUls2FZnlp6UCYD16Bt4WxWZ7/Fx2pZXtvC29//Uz4 YWlnxY+EUIHfCJw+5sEy8QF7wXAuMD/HwAqodxAa2Sd6tPGBR6Hni9RAevxmRfqa9FVK KhDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id n21-20020a170906119500b00992e21b04aasi4064666eja.720.2023.07.22.12.30.51; Sat, 22 Jul 2023 12:30:51 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 090CE68C691; Sat, 22 Jul 2023 22:30:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 86BA568C675 for ; Sat, 22 Jul 2023 22:30:05 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id E2F26FF809 for ; Sat, 22 Jul 2023 19:30:04 +0000 (UTC) From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sat, 22 Jul 2023 21:29:57 +0200 Message-Id: <20230722192957.703-6-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230722192957.703-1-michael@niedermayer.cc> References: <20230722192957.703-1-michael@niedermayer.cc> X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 6/6] tools/uncoded_frame: avradio support 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: orNg+NRXcNyt This avoids keeping diffs to tools in the libavradio repository Signed-off-by: Michael Niedermayer --- tools/uncoded_frame.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c index edea2367c4..f856b02c77 100644 --- a/tools/uncoded_frame.c +++ b/tools/uncoded_frame.c @@ -1,8 +1,12 @@ #include #include #include +#include "config.h" #include "libavutil/avassert.h" #include "libavdevice/avdevice.h" +#if CONFIG_AVRADIO +#include "libavradio/avradio.h" +#endif #include "libavfilter/avfilter.h" #include "libavfilter/buffersink.h" #include "libavformat/avformat.h" @@ -64,6 +68,9 @@ int main(int argc, char **argv) nb_out_dev = argc - 2; avdevice_register_all(); +#if CONFIG_AVRADIO + avradio_register_all(); +#endif /* Create input graph */ if (!(in_graph = avfilter_graph_alloc())) {