aboutsummaryrefslogtreecommitdiffstats
path: root/aac-enc.c
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-07-05 23:01:56 +0300
committerMartin Storsjo <martin@martin.st>2018-07-05 23:01:56 +0300
commite45ae429b9ca8f234eb861338a75b2d89cde206a (patch)
tree029b2c717cbd94acf16c9a254c49c3d9f42a6be2 /aac-enc.c
parenta50eecf65b5ce5d4f03768c5c2cb4b492d2badad (diff)
downloadfdk-aac-e45ae429b9ca8f234eb861338a75b2d89cde206a.tar.gz
fdk-aac-e45ae429b9ca8f234eb861338a75b2d89cde206a.tar.bz2
fdk-aac-e45ae429b9ca8f234eb861338a75b2d89cde206a.zip
Use TT_MP4_ADTS instead of a literal number in the encoder example
Diffstat (limited to 'aac-enc.c')
-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;
}