[MPlayer-dev-eng] [SURVEY] change mencoder's default ofilename extension?
Reimar at mplayerhq.hu
Reimar at mplayerhq.hu
Tue Nov 29 13:23:34 CET 2005
Hi,
On Mon, Nov 28, 2005 at 09:52:34PM +0200, Oded Shimon wrote:
> I suggest a variant of this idea -
> keep everything the same, except:
> a BIG FAT warning, when you use an output file extention which doesn't math
> the output file you're giving.
Good idea IMHO, just the implementation...
> +{
> + int i, n = 0;
> + for (i = 0; out_filename[i]; i++)
> + if (out_filename[i] == '.') n = i + 1;
better use strrchr and make sure it works with "file.avi.mpg" and "file"
and things like that.
Greetings,
Reimar DÃffinger
More information about the MPlayer-dev-eng
mailing list