aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/bfin
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-08-20 10:52:54 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-29 10:23:53 +0200
commit4e0799a4d04404abfa8fbc072640be76465158cf (patch)
tree65fcb6089c03d1c09b193bb371db01550c00fc23 /libswscale/bfin
parent3aa682f25324d811ec284edc808eb71a46eae950 (diff)
downloadffmpeg-4e0799a4d04404abfa8fbc072640be76465158cf.tar.gz
swscale: Add some missing av_cold to arch-specific init functions
Diffstat (limited to 'libswscale/bfin')
-rw-r--r--libswscale/bfin/swscale_bfin.c3
-rw-r--r--libswscale/bfin/yuv2rgb_bfin.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/libswscale/bfin/swscale_bfin.c b/libswscale/bfin/swscale_bfin.c
index d4980e5d71..99bbfe4577 100644
--- a/libswscale/bfin/swscale_bfin.c
+++ b/libswscale/bfin/swscale_bfin.c
@@ -23,6 +23,7 @@
#include <stdint.h>
#include "config.h"
+#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined (__FDPIC__) && CONFIG_SRAM
@@ -71,7 +72,7 @@ static int yuyvtoyv12_unscaled(SwsContext *c, const uint8_t *src[],
return srcSliceH;
}
-void ff_get_unscaled_swscale_bfin(SwsContext *c)
+av_cold void ff_get_unscaled_swscale_bfin(SwsContext *c)
{
if (c->dstFormat == AV_PIX_FMT_YUV420P && c->srcFormat == AV_PIX_FMT_UYVY422) {
av_log(NULL, AV_LOG_VERBOSE,
diff --git a/libswscale/bfin/yuv2rgb_bfin.c b/libswscale/bfin/yuv2rgb_bfin.c
index 6c3496d7ce..603a33a77f 100644
--- a/libswscale/bfin/yuv2rgb_bfin.c
+++ b/libswscale/bfin/yuv2rgb_bfin.c
@@ -24,6 +24,7 @@
#include <stdint.h>
#include "config.h"
+#include "libavutil/attributes.h"
#include "libswscale/swscale_internal.h"
#if defined(__FDPIC__) && CONFIG_SRAM
@@ -167,7 +168,7 @@ static int bfin_yuv420_bgr565(SwsContext *c, const uint8_t **in, int *instrides,
outstrides, ff_bfin_yuv2rgb565_line, 0, 565);
}
-SwsFunc ff_yuv2rgb_init_bfin(SwsContext *c)
+av_cold SwsFunc ff_yuv2rgb_init_bfin(SwsContext *c)
{
SwsFunc f;