Update aac-enc.c

fix typo in error messag
This commit is contained in:
Greg Kennedy 2021-08-21 22:53:43 -05:00 committed by Martin Storsjö
parent 7f328b93ee
commit 573e93e4d0
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ int main(int argc, char *argv[]) {
} }
} }
if (aacEncoder_SetParam(handle, AACENC_SAMPLERATE, sample_rate) != AACENC_OK) { if (aacEncoder_SetParam(handle, AACENC_SAMPLERATE, sample_rate) != AACENC_OK) {
fprintf(stderr, "Unable to set the AOT\n"); fprintf(stderr, "Unable to set the sample rate\n");
return 1; return 1;
} }
if (aacEncoder_SetParam(handle, AACENC_CHANNELMODE, mode) != AACENC_OK) { if (aacEncoder_SetParam(handle, AACENC_CHANNELMODE, mode) != AACENC_OK) {