summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-06-29 12:28:06 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-06-29 12:28:06 +0000
commit29e719377f0643a38d6f66b029ddfbc2441dffda (patch)
tree9aea2ef86801b64a2701edd483991a113963b21c /libavcodec/x86
parent982fac73570fef49f97106faccf7acd0ccb06dc4 (diff)
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. Originally committed as revision 23885 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/h264dsp_mmx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/h264dsp_mmx.c b/libavcodec/x86/h264dsp_mmx.c
index 2b83c65596..3c3eab0847 100644
--- a/libavcodec/x86/h264dsp_mmx.c
+++ b/libavcodec/x86/h264dsp_mmx.c
@@ -2353,6 +2353,8 @@ void ff_pred4x4_vertical_vp8_mmxext(uint8_t *src, const uint8_t *topright, int s
#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;