changeset 12012:2d70a8b0ec8a libavcodec

Add missing mm_support call toff_h264_pred_init_x86. I'm not sure if this is supposed to be here, but it can't hurt.
author darkshikari
date Tue, 29 Jun 2010 12:28:06 +0000
parents f96187e79438
children 2ae70e2c31a4
files x86/h264dsp_mmx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/x86/h264dsp_mmx.c	Tue Jun 29 06:42:17 2010 +0000
+++ b/x86/h264dsp_mmx.c	Tue Jun 29 12:28:06 2010 +0000
@@ -2353,6 +2353,8 @@
 #if CONFIG_H264DSP
 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id)
 {
+    mm_flags = mm_support();
+
 #if HAVE_YASM
     if (mm_flags & FF_MM_MMX) {
         h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_mmx;