[FFmpeg-devel] [PATCH 1/8] ffprobe/avtextformat: Rename and move writer structs

Michael Niedermayer michael at niedermayer.cc
Fri Feb 28 03:18:25 EET 2025


On Thu, Feb 27, 2025 at 02:01:33PM +0000, softworkz wrote:
> From: softworkz <softworkz at hotmail.com>
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  fftools/ffprobe.c        | 356 +++++++++++++++------------------------
>  libavutil/Makefile       |   1 +
>  libavutil/avtextformat.h | 120 +++++++++++++
>  3 files changed, 257 insertions(+), 220 deletions(-)
>  create mode 100644 libavutil/avtextformat.h

this alone fails to build

fftools/ffprobe.c: In function ‘writer_register_all’:
fftools/ffprobe.c:1896:22: error: ‘compact_writer’ undeclared (first use in this function); did you mean ‘compact_init’?
 1896 |     writer_register(&compact_writer);
      |                      ^~~~~~~~~~~~~~
      |                      compact_init
fftools/ffprobe.c:1896:22: note: each undeclared identifier is reported only once for each function it appears in
fftools/ffprobe.c:1897:22: error: ‘csv_writer’ undeclared (first use in this function); did you mean ‘csv_formatter’?
 1897 |     writer_register(&csv_writer);
      |                      ^~~~~~~~~~
      |                      csv_formatter
fftools/ffprobe.c:1898:22: error: ‘flat_writer’ undeclared (first use in this function); did you mean ‘flat_init’?
 1898 |     writer_register(&flat_writer);
      |                      ^~~~~~~~~~~
      |                      flat_init
fftools/ffprobe.c:1899:22: error: ‘ini_writer’ undeclared (first use in this function)
 1899 |     writer_register(&ini_writer);
      |                      ^~~~~~~~~~
fftools/ffprobe.c:1900:22: error: ‘json_writer’ undeclared (first use in this function); did you mean ‘json_init’?
 1900 |     writer_register(&json_writer);
      |                      ^~~~~~~~~~~
      |                      json_init
fftools/ffprobe.c:1901:22: error: ‘xml_writer’ undeclared (first use in this function); did you mean ‘xml_init’?
 1901 |     writer_register(&xml_writer);
      |                      ^~~~~~~~~~
      |                      xml_init
make: *** [ffbuild/common.mak:81: fftools/ffprobe.o] Error 1
make: *** Waiting for unfinished jobs....



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250228/bd48a560/attachment.sig>


More information about the ffmpeg-devel mailing list