summaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/videodsp_ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ppc/videodsp_ppc.c')
-rw-r--r--libavcodec/ppc/videodsp_ppc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ppc/videodsp_ppc.c b/libavcodec/ppc/videodsp_ppc.c
index 1865b19..b9e003b 100644
--- a/libavcodec/ppc/videodsp_ppc.c
+++ b/libavcodec/ppc/videodsp_ppc.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/attributes.h"
#include "libavcodec/videodsp.h"
static void prefetch_ppc(uint8_t *mem, ptrdiff_t stride, int h)
@@ -29,7 +30,7 @@ static void prefetch_ppc(uint8_t *mem, ptrdiff_t stride, int h)
} while(--h);
}
-void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc)
+av_cold void ff_videodsp_init_ppc(VideoDSPContext *ctx, int bpc)
{
ctx->prefetch = prefetch_ppc;
}
OpenPOWER on IntegriCloud