summaryrefslogtreecommitdiff
path: root/libavcodec/arm/h264qpel_init_arm.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 10:31:59 +0100
committerDiego Biurrun <diego@biurrun.de>2013-02-05 17:01:05 +0100
commitc9f933b5b62d3054021fcdca8597d1c2fb6bdb2f (patch)
treec806492fc39c6605545f5e2b216fdfb36ed4840b /libavcodec/arm/h264qpel_init_arm.c
parent25841dfe806a13de526ae09c11149ab1f83555a8 (diff)
downloadffmpeg-c9f933b5b62d3054021fcdca8597d1c2fb6bdb2f.tar.gz
Add av_cold attributes to arch-specific init functions
Diffstat (limited to 'libavcodec/arm/h264qpel_init_arm.c')
-rw-r--r--libavcodec/arm/h264qpel_init_arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/arm/h264qpel_init_arm.c b/libavcodec/arm/h264qpel_init_arm.c
index 21eb72f165..ebbaa17e35 100644
--- a/libavcodec/arm/h264qpel_init_arm.c
+++ b/libavcodec/arm/h264qpel_init_arm.c
@@ -22,6 +22,7 @@
#include <stdint.h>
#include "config.h"
+#include "libavutil/attributes.h"
#include "libavutil/arm/cpu.h"
#include "libavcodec/h264qpel.h"
@@ -93,7 +94,7 @@ void ff_avg_h264_qpel8_mc13_neon(uint8_t *, uint8_t *, int);
void ff_avg_h264_qpel8_mc23_neon(uint8_t *, uint8_t *, int);
void ff_avg_h264_qpel8_mc33_neon(uint8_t *, uint8_t *, int);
-void ff_h264qpel_init_arm(H264QpelContext *c, int bit_depth)
+av_cold void ff_h264qpel_init_arm(H264QpelContext *c, int bit_depth)
{
const int high_bit_depth = bit_depth > 8;
int cpu_flags = av_get_cpu_flags();