aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-11-18 15:12:37 +0100
committerClément Bœsch <ubitux@gmail.com>2012-11-18 16:21:59 +0100
commitf6be711a69edd9f717e1728d04334d280dfd559a (patch)
tree8f8711c1d1b84ed54d021da715290cead62ac5a4
parent59d686f100863d00b8f171dd891e893c2bfd951e (diff)
downloadffmpeg-f6be711a69edd9f717e1728d04334d280dfd559a.tar.gz
lavfi/mp/pp: use PP_CPU_CAPS_AUTO.
-rw-r--r--libavfilter/libmpcodecs/vf_pp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/libmpcodecs/vf_pp.c b/libavfilter/libmpcodecs/vf_pp.c
index 78cce1fd7c..713056f080 100644
--- a/libavfilter/libmpcodecs/vf_pp.c
+++ b/libavfilter/libmpcodecs/vf_pp.c
@@ -54,10 +54,7 @@ struct vf_priv_s {
static int config(struct vf_instance *vf,
int width, int height, int d_width, int d_height,
unsigned int voflags, unsigned int outfmt){
- int flags=
- (gCpuCaps.hasMMX ? PP_CPU_CAPS_MMX : 0)
- | (gCpuCaps.hasMMX2 ? PP_CPU_CAPS_MMX2 : 0)
- | (gCpuCaps.has3DNow ? PP_CPU_CAPS_3DNOW : 0);
+ int flags= PP_CPU_CAPS_AUTO;
switch(outfmt){
case IMGFMT_444P: flags|= PP_FORMAT_444; break;