diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-23 17:50:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-24 12:56:49 +0100 |
commit | 84f16bb5e68dc47eca4dc96b3391c58471cd7328 (patch) | |
tree | a5c7c84c42ddb3d518183448c63ad30fe7c700e4 /libavcodec | |
parent | 155cd6baa49797d57f5b42276eeed3f5408ef3f7 (diff) | |
download | ffmpeg-84f16bb5e68dc47eca4dc96b3391c58471cd7328.tar.gz |
avutil/avassert: Don't include avutil.h
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dct.c | 2 | ||||
-rw-r--r-- | libavcodec/mpegaudiodec_common.c | 1 | ||||
-rw-r--r-- | libavcodec/mqcenc.c | 2 | ||||
-rw-r--r-- | libavcodec/put_bits.h | 1 | ||||
-rw-r--r-- | libavcodec/rdft.c | 1 | ||||
-rw-r--r-- | libavcodec/tableprint_vlc.h | 2 | ||||
-rw-r--r-- | libavcodec/tests/fft.c | 1 | ||||
-rw-r--r-- | libavcodec/x86/mdct15_init.c | 2 |
8 files changed, 11 insertions, 1 deletions
diff --git a/libavcodec/dct.c b/libavcodec/dct.c index 52f082d062..7581b3241f 100644 --- a/libavcodec/dct.c +++ b/libavcodec/dct.c @@ -30,7 +30,9 @@ #include <math.h> #include <string.h> +#include "libavutil/error.h" #include "libavutil/mathematics.h" +#include "libavutil/mem.h" #include "dct.h" #include "dct32.h" diff --git a/libavcodec/mpegaudiodec_common.c b/libavcodec/mpegaudiodec_common.c index a963f6683a..ed2de8adbb 100644 --- a/libavcodec/mpegaudiodec_common.c +++ b/libavcodec/mpegaudiodec_common.c @@ -28,6 +28,7 @@ #include <stdint.h> #include "libavutil/avassert.h" +#include "libavutil/libm.h" #include "libavutil/thread.h" #include "mpegaudiodata.h" diff --git a/libavcodec/mqcenc.c b/libavcodec/mqcenc.c index 6d0368f827..a8c35c8db3 100644 --- a/libavcodec/mqcenc.c +++ b/libavcodec/mqcenc.c @@ -25,6 +25,8 @@ * @author Kamil Nowosad */ +#include <string.h> + #include "libavutil/avassert.h" #include "mqc.h" diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index 689c6b282e..4b4f977ad5 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -32,6 +32,7 @@ #include "config.h" #include "libavutil/intreadwrite.h" #include "libavutil/avassert.h" +#include "libavutil/common.h" #if ARCH_X86_64 // TODO: Benchmark and optionally enable on other 64-bit architectures. diff --git a/libavcodec/rdft.c b/libavcodec/rdft.c index 6ba7484238..8228eb247b 100644 --- a/libavcodec/rdft.c +++ b/libavcodec/rdft.c @@ -20,6 +20,7 @@ */ #include <stdlib.h> #include <math.h> +#include "libavutil/error.h" #include "libavutil/mathematics.h" #include "rdft.h" diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h index 0cbd7a9d2b..924f97b466 100644 --- a/libavcodec/tableprint_vlc.h +++ b/libavcodec/tableprint_vlc.h @@ -36,7 +36,7 @@ #define AVUTIL_INTERNAL_H #define avpriv_request_sample(...) #include "tableprint.h" -#include "get_bits.h" +#include "vlc.h" #include "mathtables.c" #include "libavutil/reverse.c" #include "bitstream.c" diff --git a/libavcodec/tests/fft.c b/libavcodec/tests/fft.c index 9a5e5bd1c0..cc951b0dd4 100644 --- a/libavcodec/tests/fft.c +++ b/libavcodec/tests/fft.c @@ -38,6 +38,7 @@ #include <string.h> #include "libavutil/cpu.h" +#include "libavutil/error.h" #include "libavutil/lfg.h" #include "libavutil/log.h" #include "libavutil/mathematics.h" diff --git a/libavcodec/x86/mdct15_init.c b/libavcodec/x86/mdct15_init.c index 641bfd043f..31ce19d31c 100644 --- a/libavcodec/x86/mdct15_init.c +++ b/libavcodec/x86/mdct15_init.c @@ -20,6 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <string.h> + #include "config.h" #include "libavutil/attributes.h" |