[FFmpeg-cvslog] lavfi/mp/pp: use PP_CPU_CAPS_AUTO.
Clément Bœsch
git at videolan.org
Sun Nov 18 16:45:44 CET 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Nov 18 15:12:37 2012 +0100| [f6be711a69edd9f717e1728d04334d280dfd559a] | committer: Clément Bœsch
lavfi/mp/pp: use PP_CPU_CAPS_AUTO.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f6be711a69edd9f717e1728d04334d280dfd559a
---
libavfilter/libmpcodecs/vf_pp.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavfilter/libmpcodecs/vf_pp.c b/libavfilter/libmpcodecs/vf_pp.c
index 78cce1f..713056f 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;
More information about the ffmpeg-cvslog
mailing list