Mercurial > libavcodec.hg
diff x86/h264_intrapred_init.c @ 12475:9fef0a8ddd63 libavcodec
Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().
author | stefano |
---|---|
date | Wed, 08 Sep 2010 15:07:14 +0000 |
parents | a5ddb39627fd |
children |
line wrap: on
line diff
--- a/x86/h264_intrapred_init.c Wed Sep 08 14:36:13 2010 +0000 +++ b/x86/h264_intrapred_init.c Wed Sep 08 15:07:14 2010 +0000 @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/cpu.h" #include "libavcodec/h264pred.h" void ff_pred16x16_vertical_mmx (uint8_t *src, int stride); @@ -48,7 +49,7 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) { - int mm_flags = mm_support(); + int mm_flags = av_get_cpu_flags(); #if HAVE_YASM if (mm_flags & AV_CPU_FLAG_MMX) {