OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0be1ae
)
x86: hpeldsp: Add missing av_cold attribute to init function
author
Diego Biurrun
<diego@biurrun.de>
Thu, 9 Jan 2014 13:06:32 +0000
(14:06 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 9 Jan 2014 14:09:07 +0000
(15:09 +0100)
libavcodec/x86/hpeldsp_init.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/hpeldsp_init.c
b/libavcodec/x86/hpeldsp_init.c
index
3bc5601
..
c4f555c
100644
(file)
--- a/
libavcodec/x86/hpeldsp_init.c
+++ b/
libavcodec/x86/hpeldsp_init.c
@@
-22,6
+22,7
@@
* MMX optimization by Nick Kurshev <nickols_k@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();