Commit 1a1ad5df authored by Michael Smith's avatar Michael Smith
Browse files

use .raw if output is raw, instead of .wav

svn path=/trunk/vorbis-tools/; revision=3485
parent 0e92ba7f
......@@ -324,7 +324,10 @@ int main(int argc, char **argv)
out = malloc(strlen(argv[i]) + 10);
strncpy(out, argv[i], end-argv[i]);
out[end-argv[i]] = 0;
strcat(out, ".wav");
if(raw)
strcat(out, ".raw");
else
strcat(out, ".wav");
}
if(decode_file(in,out))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment