aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-07-10 20:23:08 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-07-10 20:23:08 +0000
commiteb75a69818c15272e94de9aba8e87a2c3535437a (patch)
tree0abc4ce94139bf1d1e0dbdac6c7001ee5f3052f8 /libavcodec/i386
parentf79488d426c3ac442b250ec1643a19d011f8594a (diff)
downloadffmpeg-eb75a69818c15272e94de9aba8e87a2c3535437a.tar.gz
Avoid linking with h263.c functions when the relevant codecs
are not compiled in. Originally committed as revision 9581 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/dsputil_mmx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c
index b9b365869a..333356832b 100644
--- a/libavcodec/i386/dsputil_mmx.c
+++ b/libavcodec/i386/dsputil_mmx.c
@@ -29,6 +29,7 @@
#include "mmx.h"
#include "vp3dsp_mmx.h"
#include "vp3dsp_sse2.h"
+#include "h263.h"
//#undef NDEBUG
//#include <assert.h>
@@ -3347,8 +3348,10 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
#endif //CONFIG_ENCODERS
+ if (ENABLE_ANY_H263) {
c->h263_v_loop_filter= h263_v_loop_filter_mmx;
c->h263_h_loop_filter= h263_h_loop_filter_mmx;
+ }
c->put_h264_chroma_pixels_tab[0]= put_h264_chroma_mc8_mmx;
c->put_h264_chroma_pixels_tab[1]= put_h264_chroma_mc4_mmx;