have to use NULL instead of nil for ape programs...

This commit is contained in:
cinap_lenrek 2014-02-05 19:52:09 +01:00
parent 868a262bb8
commit f029ea1694
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ decoutput(FLAC__StreamDecoder *dec, FLAC__Frame *frame, FLAC__int32 *buffer[], v
dup2(pfd[1], 0);
close(pfd[1]);
close(pfd[0]);
execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, nil);
execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, NULL);
fprintf(stderr, "Error executing converter\n");
exit(1);
}

View file

@ -61,7 +61,7 @@ output(float **pcm, int samples, vorbis_info *vi)
dup2(pfd[1], 0);
close(pfd[1]);
close(pfd[0]);
execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, nil);
execl("/bin/audio/pcmconv", "pcmconv", "-i", fmt, NULL);
fprintf(stderr, "Error executing converter\n");
exit(1);
}