diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-14 17:04:50 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-14 17:04:50 +0000 |
commit | 7c428ea6815e74bd21f02d5520a21cd9db3d6a12 (patch) | |
tree | 83b91aac1bc110b9035ba11e2de19a46e0e7ff11 | |
parent | 8aaed74c4b57de5247185efb2af95ddbd69f3620 (diff) | |
download | ffmpeg-7c428ea6815e74bd21f02d5520a21cd9db3d6a12.tar.gz |
Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure
with --disable-opts.
Originally committed as revision 6691 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 108933539a..be2c21e14b 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -2704,6 +2704,7 @@ void ff_vp3_dsp_init_mmx(void); /* XXX: those functions should be suppressed ASAP when all IDCTs are converted */ +#ifdef CONFIG_GPL static void ff_libmpeg2mmx_idct_put(uint8_t *dest, int line_size, DCTELEM *block) { ff_mmx_idct (block); @@ -2724,6 +2725,7 @@ static void ff_libmpeg2mmx2_idct_add(uint8_t *dest, int line_size, DCTELEM *bloc ff_mmxext_idct (block); add_pixels_clamped_mmx(block, dest, line_size); } +#endif static void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block) { ff_vp3_idct_sse2(block); |