diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-16 16:11:13 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-18 12:05:17 -0400 |
commit | ad45121d562d99c07ab8f77b01ba4bc610dbe0c0 (patch) | |
tree | 0ff71fd98a27694846cf1f8857ae369d7a0841f0 /libavfilter/x86/vf_spp.c | |
parent | b07d2a250955ef03b63db125c581faf48d206cbd (diff) | |
download | ffmpeg-ad45121d562d99c07ab8f77b01ba4bc610dbe0c0.tar.gz |
options: mark av_get_{int,double,q} as deprecated.
Convert last users to av_opt_get_*() counterparts.
Diffstat (limited to 'libavfilter/x86/vf_spp.c')
-rw-r--r-- | libavfilter/x86/vf_spp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/x86/vf_spp.c b/libavfilter/x86/vf_spp.c index 1cfb9e81f7..45a9eb068c 100644 --- a/libavfilter/x86/vf_spp.c +++ b/libavfilter/x86/vf_spp.c @@ -223,8 +223,10 @@ av_cold void ff_spp_init_x86(SPPContext *s) int cpu_flags = av_get_cpu_flags(); if (cpu_flags & AV_CPU_FLAG_MMX) { + int64_t bps; s->store_slice = store_slice_mmx; - if (av_get_int(s->dct, "bits_per_sample", NULL) <= 8) { + av_opt_get_int(s->dct, "bits_per_sample", 0, &bps); + if (bps <= 8) { switch (s->mode) { case 0: s->requantize = hardthresh_mmx; break; case 1: s->requantize = softthresh_mmx; break; |