1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2024-12-29 17:30:58 +01:00

Use TT_MP4_ADTS instead of a literal number in the encoder example

This commit is contained in:
Martin Storsjo 2018-07-05 23:01:56 +03:00
parent a50eecf65b
commit e45ae429b9

View File

@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
return 1;
}
}
if (aacEncoder_SetParam(handle, AACENC_TRANSMUX, 2) != AACENC_OK) {
if (aacEncoder_SetParam(handle, AACENC_TRANSMUX, TT_MP4_ADTS) != AACENC_OK) {
fprintf(stderr, "Unable to set the ADTS transmux\n");
return 1;
}