diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-22 14:37:20 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 03:43:52 +0200 |
commit | 85655bd9dab7d3fb2d644a0ab1fa20f570d4f57e (patch) | |
tree | 0c5e0bb9b81760201f6877b900e72f652a8fd780 | |
parent | 5bf71873276a4e264188a07e3c1624d94d7741d7 (diff) | |
download | ffmpeg-85655bd9dab7d3fb2d644a0ab1fa20f570d4f57e.tar.gz |
avcodec/loongarch/cabac, vp9dsp_loongarch: Add missing headers
Fixes checkheaders on loongarch.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/loongarch/cabac.h | 1 | ||||
-rw-r--r-- | libavcodec/loongarch/vp9dsp_loongarch.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/loongarch/cabac.h b/libavcodec/loongarch/cabac.h index e1c946fe16..f896ccf138 100644 --- a/libavcodec/loongarch/cabac.h +++ b/libavcodec/loongarch/cabac.h @@ -25,6 +25,7 @@ #ifndef AVCODEC_LOONGARCH_CABAC_H #define AVCODEC_LOONGARCH_CABAC_H +#include "libavutil/attributes.h" #include "libavcodec/cabac.h" #include "config.h" diff --git a/libavcodec/loongarch/vp9dsp_loongarch.h b/libavcodec/loongarch/vp9dsp_loongarch.h index 3cc918a18c..9fe4294d50 100644 --- a/libavcodec/loongarch/vp9dsp_loongarch.h +++ b/libavcodec/loongarch/vp9dsp_loongarch.h @@ -22,6 +22,9 @@ #ifndef AVCODEC_LOONGARCH_VP9DSP_LOONGARCH_H #define AVCODEC_LOONGARCH_VP9DSP_LOONGARCH_H +#include <stddef.h> +#include <stdint.h> + #define VP9_8TAP_LOONGARCH_LSX_FUNC(SIZE, type, type_idx) \ void ff_put_8tap_##type##_##SIZE##h_lsx(uint8_t *dst, ptrdiff_t dststride, \ const uint8_t *src, \ |