[FFmpeg-devel] [PATCH 6/6] tools/uncoded_frame: avradio support

Michael Niedermayer michael at niedermayer.cc
Sat Jul 22 22:29:57 EEST 2023


This avoids keeping diffs to tools in the libavradio repository

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#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())) {
-- 
2.17.1



More information about the ffmpeg-devel mailing list