diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-06 08:50:43 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-05-06 15:10:41 -0400 |
commit | b224b165cbbb8c376792144f9d8fbbd8ba30022b (patch) | |
tree | 585fa589b7e1e1e12c417ad5e89951719f4e667c /libavcodec/x86 | |
parent | 346ce5da197bc7b9ac642c286b17a4f75e70598a (diff) | |
download | ffmpeg-b224b165cbbb8c376792144f9d8fbbd8ba30022b.tar.gz |
vp9: add keyframe profile 2/3 support.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/vp9dsp_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c index 3a306428de..f2ac6e80bc 100644 --- a/libavcodec/x86/vp9dsp_init.c +++ b/libavcodec/x86/vp9dsp_init.c @@ -307,8 +307,10 @@ ipred_func(32, tm, avx2); #endif /* HAVE_YASM */ -av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp) +av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp, int bpp) { + if (bpp != 8) return; + #if HAVE_YASM int cpu_flags = av_get_cpu_flags(); |