This reduces the number of false dependencies on header files and speeds up compilation. Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
@@ -26,6 +26,8 @@
* FFT/IFFT transforms.
*/
+#include <stdlib.h>
+#include <string.h>
#include "libavutil/mathematics.h"
#include "fft.h"
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#include "libavutil/common.h"
@@ -18,6 +18,7 @@
* License along with FFmpeg; if not, write to the Free Software
#include <math.h>
@@ -21,7 +21,7 @@
* 3. This notice may not be removed or altered from any source distribution.
-#include "common.h"
+#include "config.h"
#include "adler32.h"
#define BASE 65521L /* largest prime smaller than 65536 */
@@ -53,6 +53,7 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, unsigne
#ifdef TEST
#include "log.h"
+#include "timer.h"
#define LEN 7001
volatile int checksum;
int main(void){
@@ -22,7 +22,7 @@
#define AVUTIL_ADLER32_H
#include <stdint.h>
+#include "attributes.h"
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
unsigned int len) av_pure;
#include "config.h"
-#include "libavutil/common.h"
+#include "libavutil/attributes.h"
#ifdef __ARMCC_VERSION
#define AVUTIL_ARM_INTMATH_H
#if HAVE_INLINE_ASM
@@ -28,7 +28,7 @@
#define bswap_32 bswap_32
static av_always_inline av_const uint32_t bswap_32(uint32_t x)
#if ARCH_ARM
# include "arm/bswap.h"