X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fx86%2Fmpegvideo.c;h=697d28ba1d3df88138e1b42774451e46dff84b74;hb=6b2e65078c02cb1e09b555603a1eb10ddb3bd244;hp=f4bf05ffdd17c8ad5d2c967cd01572b0b763bd3c;hpb=ede45c4e1da8bd2fefc89ea63e57a49e6c0a3e19;p=ffmpeg diff --git a/libavcodec/x86/mpegvideo.c b/libavcodec/x86/mpegvideo.c index f4bf05ffdd1..697d28ba1d3 100644 --- a/libavcodec/x86/mpegvideo.c +++ b/libavcodec/x86/mpegvideo.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavcodec/avcodec.h" @@ -576,7 +577,7 @@ static void denoise_dct_sse2(MpegEncContext *s, int16_t *block){ #endif /* HAVE_INLINE_ASM */ -void ff_MPV_common_init_x86(MpegEncContext *s) +av_cold void ff_MPV_common_init_x86(MpegEncContext *s) { #if HAVE_INLINE_ASM int mm_flags = av_get_cpu_flags();