[FFmpeg-devel] [PATCH 0/1] Make "File exists" exit w/ non-zero status
Dabrien 'Dabe' Murphy
dabe at dabe.com
Mon Jul 15 15:55:46 EEST 2024
I'm not sure if it was by design or just an oversight, but it seems
"unexpected" that ffmpeg (without `-y`) to an existing file calls
`exit(0)`, even though it prints a "fatal" error...
The attached patch itself is trivial, but like I say, maybe there was
a reason for the current behavior that I'm just not aware of.
Cheers!
dabe (1):
fftools/ffmpeg_opt: Exit with non-zero status when destination exists
fftools/ffmpeg_opt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-- 2.45.2
More information about the ffmpeg-devel
mailing list