have to use NULL instead of nil for ape programs...
This commit is contained in:
parent
868a262bb8
commit
f029ea1694
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue