shithub: aacdec

Download patch

ref: 366d350885e82df83fa702dc89732f33523e5410
parent: 6494791b6bd4bd644ca9aecb7f1b9b7ade79c925
author: Rosen Penev <[email protected]>
date: Tue Mar 10 22:55:43 EDT 2020

fix compilation without SBR/PS_DEC (#48)

The bits.h include needs to be in mp4.h as it uses the bitfield struct.

--- a/libfaad/mp4.c
+++ b/libfaad/mp4.c
@@ -33,7 +33,6 @@
 
 #include <stdlib.h>
 
-#include "bits.h"
 #include "mp4.h"
 #include "syntax.h"
 
--- a/libfaad/mp4.h
+++ b/libfaad/mp4.h
@@ -35,6 +35,7 @@
 extern "C" {
 #endif
 
+#include "bits.h"
 #include "neaacdec.h"
 
 int8_t AudioSpecificConfig2(uint8_t *pBuffer,