avutil/avassert: Don't include avutil.h

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/5.1
Andreas Rheinhardt 3 years ago
parent 155cd6baa4
commit 84f16bb5e6
  1. 2
      libavcodec/dct.c
  2. 1
      libavcodec/mpegaudiodec_common.c
  3. 2
      libavcodec/mqcenc.c
  4. 1
      libavcodec/put_bits.h
  5. 1
      libavcodec/rdft.c
  6. 2
      libavcodec/tableprint_vlc.h
  7. 1
      libavcodec/tests/fft.c
  8. 2
      libavcodec/x86/mdct15_init.c
  9. 1
      libavfilter/colorspacedsp.c
  10. 1
      libavfilter/window_func.h
  11. 2
      libavutil/avassert.h
  12. 1
      libavutil/mathematics.c
  13. 1
      libavutil/slicethread.c
  14. 2
      libavutil/tests/aes_ctr.c
  15. 1
      libavutil/tests/encryption_info.c

@ -30,7 +30,9 @@
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#include "libavutil/error.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "dct.h" #include "dct.h"
#include "dct32.h" #include "dct32.h"

@ -28,6 +28,7 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/libm.h"
#include "libavutil/thread.h" #include "libavutil/thread.h"
#include "mpegaudiodata.h" #include "mpegaudiodata.h"

@ -25,6 +25,8 @@
* @author Kamil Nowosad * @author Kamil Nowosad
*/ */
#include <string.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "mqc.h" #include "mqc.h"

@ -32,6 +32,7 @@
#include "config.h" #include "config.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h"
#if ARCH_X86_64 #if ARCH_X86_64
// TODO: Benchmark and optionally enable on other 64-bit architectures. // TODO: Benchmark and optionally enable on other 64-bit architectures.

@ -20,6 +20,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include "libavutil/error.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "rdft.h" #include "rdft.h"

@ -36,7 +36,7 @@
#define AVUTIL_INTERNAL_H #define AVUTIL_INTERNAL_H
#define avpriv_request_sample(...) #define avpriv_request_sample(...)
#include "tableprint.h" #include "tableprint.h"
#include "get_bits.h" #include "vlc.h"
#include "mathtables.c" #include "mathtables.c"
#include "libavutil/reverse.c" #include "libavutil/reverse.c"
#include "bitstream.c" #include "bitstream.c"

@ -38,6 +38,7 @@
#include <string.h> #include <string.h>
#include "libavutil/cpu.h" #include "libavutil/cpu.h"
#include "libavutil/error.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h>
#include "config.h" #include "config.h"
#include "libavutil/attributes.h" #include "libavutil/attributes.h"

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavutil/common.h"
#include "colorspacedsp.h" #include "colorspacedsp.h"
/* /*

@ -24,6 +24,7 @@
#include <math.h> #include <math.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/common.h"
enum WindowFunc { WFUNC_RECT, WFUNC_HANNING, WFUNC_HAMMING, WFUNC_BLACKMAN, enum WindowFunc { WFUNC_RECT, WFUNC_HANNING, WFUNC_HAMMING, WFUNC_BLACKMAN,
WFUNC_BARTLETT, WFUNC_WELCH, WFUNC_FLATTOP, WFUNC_BARTLETT, WFUNC_WELCH, WFUNC_FLATTOP,

@ -28,8 +28,8 @@
#define AVUTIL_AVASSERT_H #define AVUTIL_AVASSERT_H
#include <stdlib.h> #include <stdlib.h>
#include "avutil.h"
#include "log.h" #include "log.h"
#include "macros.h"
/** /**
* assert() equivalent, that is always enabled. * assert() equivalent, that is always enabled.

@ -26,6 +26,7 @@
#include <stdint.h> #include <stdint.h>
#include <limits.h> #include <limits.h>
#include "avutil.h"
#include "mathematics.h" #include "mathematics.h"
#include "libavutil/intmath.h" #include "libavutil/intmath.h"
#include "libavutil/common.h" #include "libavutil/common.h"

@ -18,6 +18,7 @@
#include <stdatomic.h> #include <stdatomic.h>
#include "cpu.h" #include "cpu.h"
#include "internal.h"
#include "slicethread.h" #include "slicethread.h"
#include "mem.h" #include "mem.h"
#include "thread.h" #include "thread.h"

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <string.h>
#include "libavutil/log.h" #include "libavutil/log.h"
#include "libavutil/mem_internal.h" #include "libavutil/mem_internal.h"
#include "libavutil/aes_ctr.h" #include "libavutil/aes_ctr.h"

@ -22,6 +22,7 @@
#include <string.h> #include <string.h>
#include "libavutil/avassert.h" #include "libavutil/avassert.h"
#include "libavutil/mem.h"
static const AVSubsampleEncryptionInfo test_subsamples[] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}}; 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]); static const size_t test_subsample_count = sizeof(test_subsamples) / sizeof(test_subsamples[0]);

Loading…
Cancel
Save