*/
/**
- * @file internal.h
+ * @file libavutil/internal.h
* common internal API header
*/
#include <stdint.h>
#include <stddef.h>
#include <assert.h>
+#include "config.h"
#include "common.h"
+#include "mem.h"
#include "timer.h"
#ifndef attribute_align_arg
# define PIC
#endif
-#include "config.h"
-
#ifndef offsetof
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
#endif
}
#endif
-/* avoid usage of various functions */
+/* avoid usage of dangerous/inappropriate system functions */
#undef malloc
#define malloc please_use_av_malloc
#undef free