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
| ... | ... |
@@ -18,6 +18,7 @@ |
| 18 | 18 |
* License along with FFmpeg; if not, write to the Free Software |
| 19 | 19 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | 20 |
*/ |
| 21 |
+#include <stdlib.h> |
|
| 21 | 22 |
#include <math.h> |
| 22 | 23 |
#include "libavutil/mathematics.h" |
| 23 | 24 |
#include "fft.h" |
| ... | ... |
@@ -21,7 +21,7 @@ |
| 21 | 21 |
* 3. This notice may not be removed or altered from any source distribution. |
| 22 | 22 |
*/ |
| 23 | 23 |
|
| 24 |
-#include "common.h" |
|
| 24 |
+#include "config.h" |
|
| 25 | 25 |
#include "adler32.h" |
| 26 | 26 |
|
| 27 | 27 |
#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 |
| 53 | 53 |
|
| 54 | 54 |
#ifdef TEST |
| 55 | 55 |
#include "log.h" |
| 56 |
+#include "timer.h" |
|
| 56 | 57 |
#define LEN 7001 |
| 57 | 58 |
volatile int checksum; |
| 58 | 59 |
int main(void){
|
| ... | ... |
@@ -23,6 +23,7 @@ |
| 23 | 23 |
#include "lfg.h" |
| 24 | 24 |
#include "md5.h" |
| 25 | 25 |
#include "intreadwrite.h" |
| 26 |
+#include "attributes.h" |
|
| 26 | 27 |
|
| 27 | 28 |
void av_cold av_lfg_init(AVLFG *c, unsigned int seed){
|
| 28 | 29 |
uint8_t tmp[16]={0};
|
| ... | ... |
@@ -56,7 +57,7 @@ void av_bmg_get(AVLFG *lfg, double out[2]) |
| 56 | 56 |
|
| 57 | 57 |
#ifdef TEST |
| 58 | 58 |
#include "log.h" |
| 59 |
-#include "common.h" |
|
| 59 |
+#include "timer.h" |
|
| 60 | 60 |
|
| 61 | 61 |
int main(void) |
| 62 | 62 |
{
|