[FFmpeg-devel] [PATCH] fftools/cmdutils: don't try to load arguments from file if not needed
Michael Niedermayer
michael at niedermayer.cc
Sat Jul 5 14:24:29 EEST 2025
On Mon, Jun 30, 2025 at 08:36:09PM +0200, Kacper Michajłow wrote:
> CLI option parser checks if argument exists when needed, but in this
> case only OPT_TYPE_BOOL where checked, so OPT_TYPE_FUNC without argument
> where trying to load a file from `arg` which is NULL in this case.
>
> Fixes crash on `ffmpeg -/version`
>
> Fixes: 6d17991b7e1bf1a5d104c8a6261709f7e6640d97
> Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> ---
> fftools/cmdutils.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- 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/20250705/2e473726/attachment.sig>
More information about the ffmpeg-devel
mailing list