diff libmpcodecs/vf_divtc.c @ 28906:6cc8cc259dc1

Use the same code as in vf_decimate to select diff_MMX
author reimar
date Fri, 13 Mar 2009 17:09:39 +0000
parents b538600d545c
children ccbde3575f0a
line wrap: on
line diff
--- a/libmpcodecs/vf_divtc.c	Fri Mar 13 17:02:15 2009 +0000
+++ b/libmpcodecs/vf_divtc.c	Fri Mar 13 17:09:39 2009 +0000
@@ -682,11 +682,10 @@
    if(!(p->history=calloc(sizeof *p->history, p->window)))
       goto nomem;
 
-   diff=
+   diff = diff_C;
 #if HAVE_MMX
-      gCpuCaps.hasMMX?diff_MMX:
+   if(gCpuCaps.hasMMX) diff = diff_MMX;
 #endif
-      diff_C;
 
    free(args);
    return 1;