id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
2091	ffmpeg can easily overwrite lots of video files	forthrin		"A moment thoughtlessness with filename wildcards can cause ffmpeg to zero out every single video files in the current directory, causing the user to jump out the window or what have you.

How to reproduce:
{{{
% ffmpeg -i *.mkv ... output.mp4
}}}

*.mkv is expanded to a long list of files, and evidently all of these files (except the first one) are considered to be output files by ffmpeg. They are zeroed out at least.

Possible solutions:

a) Let input files be specified simply by filename (without ""-i"") and the output file explicitly by ""-o"".
b) Let all filenames following ""-i"" be considered to be input files (except the last one, which would be the output file)
c) Simply exit ffmpeg if there are multiple output filenames (doesn't ffmpeg only support one output file anyway?)
"	defect	closed	normal	undetermined	unspecified	invalid					0	0
