aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aac-enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aac-enc.c b/aac-enc.c
index 9365cc9..e773700 100644
--- a/aac-enc.c
+++ b/aac-enc.c
@@ -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;
}