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

Måns Rullgård mru
Thu Jan 26 12:34:50 CET 2006

Erik Slagter said:
> On Wed, 2006-01-25 at 21:23 +0000, M?ns Rullg?rd wrote:
>> Since any character is legal
>> in a Unix filename, it's hard to come up with a good choice though.
> There is one character that is not a legal character in a unix filename,
> but that's really nitpicking ;-) I wouldn't recommend that one to use as
> separator anyway ;-)

The only two bytes that are not valid as part of a filename are '/' and '\0'.
'/' is the directory separator, so it is a valid character in a pathname, which
is really what we are talking about here.  '\0' marks the end of the name, as
well as the end of C strings (notably argv[i]), so using that is impossible.

You started the nitpicking ;-)

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list