[FFmpeg-devel] [PATCH v19 3/5] fftools: Remove MAX_PATH limit and switch to UTF-8 versions of fopen() and getenv()

Michael Niedermayer michael at niedermayer.cc
Mon Jun 20 00:56:36 EEST 2022


On Sun, Jun 19, 2022 at 02:40:54PM +0300, Nil Admirari wrote:
> ---
>  fftools/cmdutils.c   | 53 +++++++++++++++++++++++++++++++++-----------
>  fftools/ffmpeg_opt.c |  9 ++++++--
>  2 files changed, 47 insertions(+), 15 deletions(-)

breaks build on ubuntu 

CC	fftools/ffmpeg_opt.o
In file included from fftools/ffmpeg_opt.c:47:0:
./libavutil/getenv_utf8.h: In function ‘freeenv_utf8’:
./libavutil/getenv_utf8.h:69:1: error: parameter name omitted
 static inline void freeenv_utf8(const char *)
 ^~~~~~
ffbuild/common.mak:81: recipe for target 'fftools/ffmpeg_opt.o' failed
make: *** [fftools/ffmpeg_opt.o] Error 1
CC	fftools/cmdutils.o
In file included from fftools/cmdutils.c:42:0:
./libavutil/getenv_utf8.h: In function ‘freeenv_utf8’:
./libavutil/getenv_utf8.h:69:1: error: parameter name omitted
 static inline void freeenv_utf8(const char *)
 ^~~~~~
ffbuild/common.mak:81: recipe for target 'fftools/cmdutils.o' failed
make: *** [fftools/cmdutils.o] Error 1
make: Target 'all' not remade because of errors.

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

If you drop bombs on a foreign country and kill a hundred thousand
innocent people, expect your government to call the consequence
"unprovoked inhuman terrorist attacks" and use it to justify dropping
more bombs and killing more people. The technology changed, the idea is old.
-------------- 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/20220619/7ad8946c/attachment.sig>


More information about the ffmpeg-devel mailing list