mirror of https://git.ffmpeg.org/ffmpeg.git
x86: hpeldsp: Add missing av_cold attribute to init function
This commit is contained in:
parent
b0be1ae792
commit
4c642d8d98
|
@ -22,6 +22,7 @@
|
||||||
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/cpu.h"
|
#include "libavutil/cpu.h"
|
||||||
#include "libavutil/x86/asm.h"
|
#include "libavutil/x86/asm.h"
|
||||||
#include "libavutil/x86/cpu.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 */
|
#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();
|
int cpu_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue