Mercurial > libavcodec.hg
changeset 11444:6f1697664bf2 libavcodec
Replace many includes of libavutil/common.h with what is actually needed
This reduces the number of false dependencies on header files and
speeds up compilation.
author | mru |
---|---|
date | Tue, 09 Mar 2010 17:39:19 +0000 |
parents | 361a5fcb4393 |
children | bf53d3860a0d |
files | fft.c mdct.c rdft.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fft.c Tue Mar 09 16:17:56 2010 +0000 +++ b/fft.c Tue Mar 09 17:39:19 2010 +0000 @@ -26,6 +26,8 @@ * FFT/IFFT transforms. */ +#include <stdlib.h> +#include <string.h> #include "libavutil/mathematics.h" #include "fft.h"
--- a/mdct.c Tue Mar 09 16:17:56 2010 +0000 +++ b/mdct.c Tue Mar 09 17:39:19 2010 +0000 @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdlib.h> +#include <string.h> +#include "libavutil/common.h" #include "libavutil/mathematics.h" #include "fft.h"
--- a/rdft.c Tue Mar 09 16:17:56 2010 +0000 +++ b/rdft.c Tue Mar 09 17:39:19 2010 +0000 @@ -18,6 +18,7 @@ * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdlib.h> #include <math.h> #include "libavutil/mathematics.h" #include "fft.h"