summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_smartblur.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-29 17:34:42 +0200
committerwm4 <wm4@nowhere>2012-07-30 01:38:53 +0200
commit35291b8ad9590f000f89ec37dc85aa6f5e9741a7 (patch)
treea887dbb318c72719c8f14e983f1885aef6fcf2d0 /libmpcodecs/vf_smartblur.c
parent43da1e78c40ba4f948bfe20536ccc18b2f25c8f7 (diff)
downloadmpv-35291b8ad9590f000f89ec37dc85aa6f5e9741a7.tar.bz2
mpv-35291b8ad9590f000f89ec37dc85aa6f5e9741a7.tar.xz
vf_scale: don't pass CPU flags anymore
libav detects them automatically. Also fix a bunch of other VFs, which use the get_sws_cpuflags() function defined by vf_scale.c.
Diffstat (limited to 'libmpcodecs/vf_smartblur.c')
-rw-r--r--libmpcodecs/vf_smartblur.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_smartblur.c b/libmpcodecs/vf_smartblur.c
index 7c54231e40..da6f3547bf 100644
--- a/libmpcodecs/vf_smartblur.c
+++ b/libmpcodecs/vf_smartblur.c
@@ -61,7 +61,7 @@ static int allocStuff(FilterParam *f, int width, int height){
swsF.lumH= swsF.lumV= vec;
swsF.chrH= swsF.chrV= NULL;
f->filterContext= sws_getContext(
- width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC | get_sws_cpuflags(), &swsF, NULL, NULL);
+ width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC, &swsF, NULL, NULL);
sws_freeVec(vec);