summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264dsp_mmx.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-28 10:02:15 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-28 10:02:15 +0000
commit1f65b67c46ebcbe226aa42489cbd8131b3d5a54a (patch)
treede50e44e7a8aaa4ea6268bd81e2cede45cd061a1 /libavcodec/x86/h264dsp_mmx.c
parent1b15dc3ca8f616e9e650639a6c4c6f8a8a31688f (diff)
Fix x86 build with h264dsp disabled
Originally committed as revision 23844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/h264dsp_mmx.c')
-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 616233f1d9..6c5255059b 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