Browse Source

yadif: use emms_c() instead of inline assembly for emms invocations.

tags/n1.0
Ronald S. Bultje 13 years ago
parent
commit
731fa116b4
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavfilter/vf_yadif.c

+ 2
- 3
libavfilter/vf_yadif.c View File

@@ -135,9 +135,8 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic,
}
}
}
#if HAVE_MMX
__asm__ volatile("emms \n\t" : : : "memory");
#endif

emms_c();
}

static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms, int w, int h)


Loading…
Cancel
Save