Commit cdf23e5f authored by diego's avatar diego

Put libmpeg2 IDCT functions under CONFIG_GPL, fixes link failure

with --disable-opts.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6691 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b19b788a
...@@ -2704,6 +2704,7 @@ void ff_vp3_dsp_init_mmx(void); ...@@ -2704,6 +2704,7 @@ void ff_vp3_dsp_init_mmx(void);
/* XXX: those functions should be suppressed ASAP when all IDCTs are /* XXX: those functions should be suppressed ASAP when all IDCTs are
converted */ converted */
#ifdef CONFIG_GPL
static void ff_libmpeg2mmx_idct_put(uint8_t *dest, int line_size, DCTELEM *block) static void ff_libmpeg2mmx_idct_put(uint8_t *dest, int line_size, DCTELEM *block)
{ {
ff_mmx_idct (block); ff_mmx_idct (block);
...@@ -2724,6 +2725,7 @@ static void ff_libmpeg2mmx2_idct_add(uint8_t *dest, int line_size, DCTELEM *bloc ...@@ -2724,6 +2725,7 @@ static void ff_libmpeg2mmx2_idct_add(uint8_t *dest, int line_size, DCTELEM *bloc
ff_mmxext_idct (block); ff_mmxext_idct (block);
add_pixels_clamped_mmx(block, dest, line_size); add_pixels_clamped_mmx(block, dest, line_size);
} }
#endif
static void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block) static void ff_vp3_idct_put_sse2(uint8_t *dest, int line_size, DCTELEM *block)
{ {
ff_vp3_idct_sse2(block); ff_vp3_idct_sse2(block);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment