diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-09 17:39:19 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-09 17:39:19 +0000 |
commit | 2ed6f399440a9f9fa358a96293c6797c2ebd0aaf (patch) | |
tree | ea8d954cee507834abd9e4b233517a0b7864a633 /libavcodec | |
parent | 19fcd66c31b880487e477dd45501eb91b9c9fdfe (diff) | |
download | ffmpeg-2ed6f399440a9f9fa358a96293c6797c2ebd0aaf.tar.gz |
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.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/fft.c | 2 | ||||
-rw-r--r-- | libavcodec/mdct.c | 3 | ||||
-rw-r--r-- | libavcodec/rdft.c | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c index facc6e05d9..7275d98e9f 100644 --- a/libavcodec/fft.c +++ b/libavcodec/fft.c @@ -26,6 +26,8 @@ * FFT/IFFT transforms. */ +#include <stdlib.h> +#include <string.h> #include "libavutil/mathematics.h" #include "fft.h" diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c index 87908d3d66..9d0a59dc84 100644 --- a/libavcodec/mdct.c +++ b/libavcodec/mdct.c @@ -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" diff --git a/libavcodec/rdft.c b/libavcodec/rdft.c index 8878e744cf..8d0167798f 100644 --- a/libavcodec/rdft.c +++ b/libavcodec/rdft.c @@ -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" |