Browse Source

x86/h264dsp_init: put a HAVE_YASM back

Should fix compilation on open solaris

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
6add8eb2ce
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/x86/h264dsp_init.c

+ 2
- 0
libavcodec/x86/h264dsp_init.c View File

@@ -210,6 +210,7 @@ H264_BIWEIGHT_10_SSE(4, 10)
void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth,
const int chroma_format_idc)
{
#if HAVE_YASM
int mm_flags = av_get_cpu_flags();

if (chroma_format_idc == 1 && EXTERNAL_MMXEXT(mm_flags))
@@ -371,4 +372,5 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth,
}
}
}
#endif
}

Loading…
Cancel
Save