mbox series

[FFmpeg-devel,0/1] Make "File exists" exit w/ non-zero status

Message ID d3039dda-b483-0396-d85a-72749bb48e6a@dabe.com
Headers show
Series Make "File exists" exit w/ non-zero status | expand

Message

Dabrien 'Dabe' Murphy July 15, 2024, 12:55 p.m. UTC
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