diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-22 12:29:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-07-23 01:30:05 +0200 |
commit | 5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a (patch) | |
tree | fde246d184c517279b9ef3287ae47329701b3780 /libswscale/output.c | |
parent | 16d2a1a51c1dbdd69ee47b19c8ab66b905b7c5ce (diff) | |
download | ffmpeg-5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a.tar.gz |
swscale: Mark all init functions as av_cold
Diffstat (limited to 'libswscale/output.c')
-rw-r--r-- | libswscale/output.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libswscale/output.c b/libswscale/output.c index b58bda9213..43d5435b98 100644 --- a/libswscale/output.c +++ b/libswscale/output.c @@ -24,6 +24,7 @@ #include <stdio.h> #include <string.h> +#include "libavutil/attributes.h" #include "libavutil/avutil.h" #include "libavutil/bswap.h" #include "libavutil/cpu.h" @@ -1260,13 +1261,13 @@ YUV2RGBWRAPPERX(yuv2, rgb_full, xrgb32_full, PIX_FMT_ARGB, 0) YUV2RGBWRAPPERX(yuv2, rgb_full, bgr24_full, PIX_FMT_BGR24, 0) YUV2RGBWRAPPERX(yuv2, rgb_full, rgb24_full, PIX_FMT_RGB24, 0) -void ff_sws_init_output_funcs(SwsContext *c, - yuv2planar1_fn *yuv2plane1, - yuv2planarX_fn *yuv2planeX, - yuv2interleavedX_fn *yuv2nv12cX, - yuv2packed1_fn *yuv2packed1, - yuv2packed2_fn *yuv2packed2, - yuv2packedX_fn *yuv2packedX) +av_cold void ff_sws_init_output_funcs(SwsContext *c, + yuv2planar1_fn *yuv2plane1, + yuv2planarX_fn *yuv2planeX, + yuv2interleavedX_fn *yuv2nv12cX, + yuv2packed1_fn *yuv2packed1, + yuv2packed2_fn *yuv2packed2, + yuv2packedX_fn *yuv2packedX) { enum PixelFormat dstFormat = c->dstFormat; |