From: Måns Rullgård Date: Mon, 28 Jun 2010 10:02:15 +0000 (+0000) Subject: Fix x86 build with h264dsp disabled X-Git-Tag: v0.7b2~3862 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1f65b67c46ebcbe226aa42489cbd8131b3d5a54a;p=coroid%2Flibav_saccubus.git Fix x86 build with h264dsp disabled Originally committed as revision 23844 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/x86/h264dsp_mmx.c b/libavcodec/x86/h264dsp_mmx.c index 616233f1d..6c5255059 100644 --- a/libavcodec/x86/h264dsp_mmx.c +++ b/libavcodec/x86/h264dsp_mmx.c @@ -2347,6 +2347,7 @@ void ff_pred8x8_tm_vp8_mmxext (uint8_t *src, int stride); void ff_pred8x8_tm_vp8_sse2 (uint8_t *src, int stride); void ff_pred8x8_tm_vp8_ssse3 (uint8_t *src, int stride); +#if CONFIG_H264DSP void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) { #if HAVE_YASM @@ -2397,3 +2398,4 @@ void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) } #endif } +#endif