mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-01-19 18:40:52 +01:00
Use TT_MP4_ADTS instead of a literal number in the encoder example
This commit is contained in:
parent
a50eecf65b
commit
e45ae429b9
@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
|
|||||||
return 1;
|
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");
|
fprintf(stderr, "Unable to set the ADTS transmux\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user