[xmp] Allow output to file when silent

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent ecc674c342
commit 62280d20ae
  1. 4
      src/main.c

@ -156,7 +156,9 @@ int main(int argc, char **argv)
if (options.silent) {
sound = &sound_null;
} else if (options.out_file) {
}
if (options.out_file) {
f = fopen(options.out_file, "wb");
if (f == NULL) {
perror(options.out_file);

Loading…
Cancel
Save