diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-06 20:28:56 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-23 14:42:19 +0200 |
commit | 8506ff97c9ea4a1f52983497ecf8d4ef193403a9 (patch) | |
tree | c02b5b1de9259e6f05b0ba373565c12206335109 /libavcodec/vp56dsp.c | |
parent | 30ce289074e88f528965cb57720674a675639737 (diff) | |
download | ffmpeg-8506ff97c9ea4a1f52983497ecf8d4ef193403a9.tar.gz |
vp56: Mark VP6-only optimizations as such.
Most of our VP56 optimizations are VP6-only and will stay that way.
So avoid compiling them for VP5-only builds.
Diffstat (limited to 'libavcodec/vp56dsp.c')
-rw-r--r-- | libavcodec/vp56dsp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/vp56dsp.c b/libavcodec/vp56dsp.c index 9929530221..5e09d2414e 100644 --- a/libavcodec/vp56dsp.c +++ b/libavcodec/vp56dsp.c @@ -88,9 +88,11 @@ av_cold void ff_vp56dsp_init(VP56DSPContext *s, enum AVCodecID codec) if (CONFIG_VP6_DECODER) { s->vp6_filter_diag4 = ff_vp6_filter_diag4_c; + + if (ARCH_ARM) + ff_vp6dsp_init_arm(s, codec); + if (ARCH_X86) + ff_vp6dsp_init_x86(s, codec); } } - - if (ARCH_ARM) ff_vp56dsp_init_arm(s, codec); - if (ARCH_X86) ff_vp56dsp_init_x86(s, codec); } |