[Ffmpeg-devel] [PATCH] from DivX, Part 2: Multifile source

Måns Rullgård mru
Wed Jan 25 22:23:14 CET 2006


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Wed, Jan 25, 2006 at 09:36:10AM -1000, Steve Lhomme wrote:
> [...]
>> >>+#define IO_MULTI_FILE_SEPAR  '*'
>> >
>> >IMHO a '*' is a uncommon choice as seperator, what about : or , ?
>> 
>> The idea is to be able to use -i cat:file1.vob*file2.vob from the 
>> command-line. * is the only one I found that can't be set (easily) in a 
>> filename on Windows and Linux.
>
> ok, personally i dont care, so if noone complains iam fine with * as
> seperator

It is always a good idea to avoid using shell metacharacters,
particularly those that expand into multiple names, and * as a
separator feels unnatural to me.  In Unix systems : is the typical
separator for things like $PATH, and files with a : in the name are as
rare as those with a *.  In Windows, I suppose : is not such a good
choice because of the drive letter mess.  Since any character is legal
in a Unix filename, it's hard to come up with a good choice though.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list