Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Dabrien 'Dabe' Murphy" <dabe@dabe.com>
To: ffmpeg-devel@ffmpeg.org
Cc: Dabrien 'Dabe' Murphy <dabe@dabe.com>
Subject: [FFmpeg-devel] [PATCH 0/1] Make "File exists" exit w/ non-zero status
Date: Mon, 15 Jul 2024 08:55:46 -0400
Message-ID: <d3039dda-b483-0396-d85a-72749bb48e6a@dabe.com> (raw)
In-Reply-To: <20240712232334.87395-1-dabe@dabe.com>

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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

       reply	other threads:[~2024-07-15 12:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240712232334.87395-1-dabe@dabe.com>
2024-07-15 12:55 ` Dabrien 'Dabe' Murphy [this message]
     [not found] ` <20240712232334.87395-2-dabe@dabe.com>
2024-07-15 12:56   ` [FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg_opt: Exit with non-zero status when destination exists Dabrien 'Dabe' Murphy
2024-07-15 13:25     ` Gyan Doshi
2024-07-16  4:10       ` Marth64
2024-07-16  5:07         ` Gyan Doshi
2025-02-05 16:14           ` Marth64
2025-02-06  3:59             ` Leo Izen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3039dda-b483-0396-d85a-72749bb48e6a@dabe.com \
    --to=dabe@dabe.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git