History

avutil/avassert: Don't include avutil.h

Andreas Rheinhardt committed 5 years ago

Commit 84f16bb1 parent 155cd6b15 files · +19 −2Browse files

Unified · Split

15 files
  1. libavcodec/dct.c +2 −0
  2. libavcodec/mpegaudiodec_common.c +1 −0
  3. libavcodec/mqcenc.c +2 −0
  4. libavcodec/put_bits.h +1 −0
  5. libavcodec/rdft.c +1 −0
  6. libavcodec/tableprint_vlc.h +1 −1
  7. libavcodec/tests/fft.c +1 −0
  8. libavcodec/x86/mdct15_init.c +2 −0
  9. libavfilter/colorspacedsp.c +1 −0
  10. libavfilter/window_func.h +1 −0
  11. libavutil/avassert.h +1 −1
  12. libavutil/mathematics.c +1 −0
  13. libavutil/slicethread.c +1 −0
  14. libavutil/tests/aes_ctr.c +2 −0
  15. libavutil/tests/encryption_info.c +1 −0
libavcodec/dct.c+2−0
@@ -30,7 +30,9 @@ · 29 unmodified lines
3030 #include <math.h>
3131 #include <string.h>
3232
33+#include "libavutil/error.h"
3334 #include "libavutil/mathematics.h"
35+#include "libavutil/mem.h"
3436 #include "dct.h"
3537 #include "dct32.h"
3638
libavcodec/mpegaudiodec_common.c+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
2828 #include <stdint.h>
2929
3030 #include "libavutil/avassert.h"
31+#include "libavutil/libm.h"
3132 #include "libavutil/thread.h"
3233
3334 #include "mpegaudiodata.h"
libavcodec/mqcenc.c+2−0
@@ -25,6 +25,8 @@ · 24 unmodified lines
2525 * @author Kamil Nowosad
2626 */
2727
28+#include <string.h>
29+
2830 #include "libavutil/avassert.h"
2931 #include "mqc.h"
3032
libavcodec/put_bits.h+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include "config.h"
3333 #include "libavutil/intreadwrite.h"
3434 #include "libavutil/avassert.h"
35+#include "libavutil/common.h"
3536
3637 #if ARCH_X86_64
3738 // TODO: Benchmark and optionally enable on other 64-bit architectures.
libavcodec/rdft.c+1−0
@@ -20,6 +20,7 @@ · 19 unmodified lines
2020 */
2121 #include <stdlib.h>
2222 #include <math.h>
23+#include "libavutil/error.h"
2324 #include "libavutil/mathematics.h"
2425 #include "rdft.h"
2526
libavcodec/tableprint_vlc.h+1−1
@@ -36,7 +36,7 @@ · 35 unmodified lines
3636 #define AVUTIL_INTERNAL_H
3737 #define avpriv_request_sample(...)
3838 #include "tableprint.h"
39−#include "get_bits.h"
39+#include "vlc.h"
4040 #include "mathtables.c"
4141 #include "libavutil/reverse.c"
4242 #include "bitstream.c"
libavcodec/tests/fft.c+1−0
@@ -38,6 +38,7 @@ · 37 unmodified lines
3838 #include <string.h>
3939
4040 #include "libavutil/cpu.h"
41+#include "libavutil/error.h"
4142 #include "libavutil/lfg.h"
4243 #include "libavutil/log.h"
4344 #include "libavutil/mathematics.h"
libavcodec/x86/mdct15_init.c+2−0
@@ -20,6 +20,8 @@ · 19 unmodified lines
2020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2121 */
2222
23+#include <string.h>
24+
2325 #include "config.h"
2426
2527 #include "libavutil/attributes.h"
libavfilter/colorspacedsp.c+1−0
@@ -18,6 +18,7 @@ · 17 unmodified lines
1818 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1919 */
2020
21+#include "libavutil/common.h"
2122 #include "colorspacedsp.h"
2223
2324 /*
libavfilter/window_func.h+1−0
@@ -24,6 +24,7 @@ · 23 unmodified lines
2424
2525 #include <math.h>
2626 #include "libavutil/avassert.h"
27+#include "libavutil/common.h"
2728
2829 enum WindowFunc { WFUNC_RECT, WFUNC_HANNING, WFUNC_HAMMING, WFUNC_BLACKMAN,
2930 WFUNC_BARTLETT, WFUNC_WELCH, WFUNC_FLATTOP,
libavutil/avassert.h+1−1
@@ -28,8 +28,8 @@ · 27 unmodified lines
2828 #define AVUTIL_AVASSERT_H
2929
3030 #include <stdlib.h>
31−#include "avutil.h"
3231 #include "log.h"
32+#include "macros.h"
3333
3434 /**
3535 * assert() equivalent, that is always enabled.
libavutil/mathematics.c+1−0
@@ -26,6 +26,7 @@ · 25 unmodified lines
2626 #include <stdint.h>
2727 #include <limits.h>
2828
29+#include "avutil.h"
2930 #include "mathematics.h"
3031 #include "libavutil/intmath.h"
3132 #include "libavutil/common.h"
libavutil/slicethread.c+1−0
@@ -18,6 +18,7 @@ · 17 unmodified lines
1818
1919 #include <stdatomic.h>
2020 #include "cpu.h"
21+#include "internal.h"
2122 #include "slicethread.h"
2223 #include "mem.h"
2324 #include "thread.h"
libavutil/tests/aes_ctr.c+2−0
@@ -16,6 +16,8 @@ · 15 unmodified lines
1616 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1717 */
1818
19+#include <string.h>
20+
1921 #include "libavutil/log.h"
2022 #include "libavutil/mem_internal.h"
2123 #include "libavutil/aes_ctr.h"
libavutil/tests/encryption_info.c+1−0
@@ -22,6 +22,7 @@ · 21 unmodified lines
2222 #include <string.h>
2323
2424 #include "libavutil/avassert.h"
25+#include "libavutil/mem.h"
2526
2627 static const AVSubsampleEncryptionInfo test_subsamples[] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}};
2728 static const size_t test_subsample_count = sizeof(test_subsamples) / sizeof(test_subsamples[0]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t