From e45ae429b9ca8f234eb861338a75b2d89cde206a Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Thu, 5 Jul 2018 23:01:56 +0300 Subject: Use TT_MP4_ADTS instead of a literal number in the encoder example --- aac-enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aac-enc.c') 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; } -- cgit v1.2.3