# HG changeset patch # User reimar # Date 1236964179 0 # Node ID 6cc8cc259dc1fff8cc3c2f4ad7be547a48f221b7 # Parent b538600d545c824d4dfb02527771a3a6a185a724 Use the same code as in vf_decimate to select diff_MMX diff -r b538600d545c -r 6cc8cc259dc1 libmpcodecs/vf_divtc.c --- 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;