summaryrefslogtreecommitdiff
path: root/libswscale/ppc
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-14 15:11:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 14:34:10 +0200
commitf3c197b129482954e863aa6cc0fe9fd0713a9321 (patch)
tree6d3a7c71f9ba5279c93b3e199f072d0c535ea637 /libswscale/ppc
parent84ac1440b2a726b8a989dafdf634081651de1c10 (diff)
downloadffmpeg-f3c197b129482954e863aa6cc0fe9fd0713a9321.tar.gz
Include attributes.h directly
Some files currently rely on libavutil/cpu.h to include it for them; yet said file won't use include it any more after the currently deprecated functions are removed, so include attributes.h directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/swscale_ppc_template.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/ppc/swscale_ppc_template.c b/libswscale/ppc/swscale_ppc_template.c
index 0ffa92725b..84641f3a8b 100644
--- a/libswscale/ppc/swscale_ppc_template.c
+++ b/libswscale/ppc/swscale_ppc_template.c
@@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
static void FUNC(yuv2planeX_8_16)(const int16_t *filter, int filterSize,