You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avutil/avassert: Don't include avutil.h
Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
		| @@ -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" | ||||
|  | ||||
|   | ||||
| @@ -28,6 +28,7 @@ | ||||
| #include <stdint.h> | ||||
|  | ||||
| #include "libavutil/avassert.h" | ||||
| #include "libavutil/libm.h" | ||||
| #include "libavutil/thread.h" | ||||
|  | ||||
| #include "mpegaudiodata.h" | ||||
|   | ||||
| @@ -25,6 +25,8 @@ | ||||
|  * @author Kamil Nowosad | ||||
|  */ | ||||
|  | ||||
| #include <string.h> | ||||
|  | ||||
| #include "libavutil/avassert.h" | ||||
| #include "mqc.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. | ||||
|   | ||||
| @@ -20,6 +20,7 @@ | ||||
|  */ | ||||
| #include <stdlib.h> | ||||
| #include <math.h> | ||||
| #include "libavutil/error.h" | ||||
| #include "libavutil/mathematics.h" | ||||
| #include "rdft.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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -18,6 +18,7 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #include "libavutil/common.h" | ||||
| #include "colorspacedsp.h" | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -24,6 +24,7 @@ | ||||
|  | ||||
| #include <math.h> | ||||
| #include "libavutil/avassert.h" | ||||
| #include "libavutil/common.h" | ||||
|  | ||||
| enum WindowFunc     { WFUNC_RECT, WFUNC_HANNING, WFUNC_HAMMING, WFUNC_BLACKMAN, | ||||
|                       WFUNC_BARTLETT, WFUNC_WELCH, WFUNC_FLATTOP, | ||||
|   | ||||
| @@ -28,8 +28,8 @@ | ||||
| #define AVUTIL_AVASSERT_H | ||||
|  | ||||
| #include <stdlib.h> | ||||
| #include "avutil.h" | ||||
| #include "log.h" | ||||
| #include "macros.h" | ||||
|  | ||||
| /** | ||||
|  * assert() equivalent, that is always enabled. | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
| #include <stdint.h> | ||||
| #include <limits.h> | ||||
|  | ||||
| #include "avutil.h" | ||||
| #include "mathematics.h" | ||||
| #include "libavutil/intmath.h" | ||||
| #include "libavutil/common.h" | ||||
|   | ||||
| @@ -18,6 +18,7 @@ | ||||
|  | ||||
| #include <stdatomic.h> | ||||
| #include "cpu.h" | ||||
| #include "internal.h" | ||||
| #include "slicethread.h" | ||||
| #include "mem.h" | ||||
| #include "thread.h" | ||||
|   | ||||
| @@ -16,6 +16,8 @@ | ||||
|  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
|  */ | ||||
|  | ||||
| #include <string.h> | ||||
|  | ||||
| #include "libavutil/log.h" | ||||
| #include "libavutil/mem_internal.h" | ||||
| #include "libavutil/aes_ctr.h" | ||||
|   | ||||
| @@ -22,6 +22,7 @@ | ||||
| #include <string.h> | ||||
|  | ||||
| #include "libavutil/avassert.h" | ||||
| #include "libavutil/mem.h" | ||||
|  | ||||
| static const AVSubsampleEncryptionInfo test_subsamples[] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}}; | ||||
| static const size_t test_subsample_count = sizeof(test_subsamples) / sizeof(test_subsamples[0]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user