[FFmpeg-cvslog] x86: hpeldsp: Add missing av_cold attribute to init function

Diego Biurrun git at videolan.org
Thu Jan 9 20:49:07 CET 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jan  9 14:06:32 2014 +0100| [4c642d8d98703faf52983243098f35865e15b312] | committer: Diego Biurrun

x86: hpeldsp: Add missing av_cold attribute to init function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4c642d8d98703faf52983243098f35865e15b312
---

 libavcodec/x86/hpeldsp_init.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c
index 3bc5601..c4f555c 100644
--- a/libavcodec/x86/hpeldsp_init.c
+++ b/libavcodec/x86/hpeldsp_init.c
@@ -22,6 +22,7 @@
  * MMX optimization by Nick Kurshev <nickols_k at mail.ru>
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/cpu.h"
 #include "libavutil/x86/asm.h"
 #include "libavutil/x86/cpu.h"
@@ -251,7 +252,7 @@ static void hpeldsp_init_sse2(HpelDSPContext *c, int flags, int cpu_flags)
 #endif /* HAVE_SSE2_EXTERNAL */
 }
 
-void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags)
+av_cold void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags)
 {
     int cpu_flags = av_get_cpu_flags();
 



More information about the ffmpeg-cvslog mailing list