summaryrefslogtreecommitdiff
path: root/libswscale/sparc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-22 12:29:28 +0200
committerDiego Biurrun <diego@biurrun.de>2012-07-23 01:30:05 +0200
commit5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a (patch)
treefde246d184c517279b9ef3287ae47329701b3780 /libswscale/sparc
parent16d2a1a51c1dbdd69ee47b19c8ab66b905b7c5ce (diff)
swscale: Mark all init functions as av_cold
Diffstat (limited to 'libswscale/sparc')
-rw-r--r--libswscale/sparc/yuv2rgb_vis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/sparc/yuv2rgb_vis.c b/libswscale/sparc/yuv2rgb_vis.c
index bcd2081aa8..d7102a3a45 100644
--- a/libswscale/sparc/yuv2rgb_vis.c
+++ b/libswscale/sparc/yuv2rgb_vis.c
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdlib.h>
+#include "libavutil/attributes.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
@@ -184,7 +185,7 @@ static int vis_422P_ARGB32(SwsContext *c, uint8_t *src[], int srcStride[],
return srcSliceH;
}
-SwsFunc ff_yuv2rgb_init_vis(SwsContext *c)
+av_cold SwsFunc ff_yuv2rgb_init_vis(SwsContext *c)
{
c->sparc_coeffs[5] = c->yCoeff;
c->sparc_coeffs[6] = c->vgCoeff;