diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 17:50:27 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-04-24 17:50:27 +0200 |
commit | 9cc4bc973c206ff89c923e6514ae6006d7b7c8fb (patch) | |
tree | f8b151c01423eb3ea05d1c4dc57be208c657c1a6 /libavfilter/libmpcodecs/vf_eq.c | |
parent | a19bcf4ee8d9a9e740e4e3e7b1335b957641d428 (diff) | |
download | ffmpeg-9cc4bc973c206ff89c923e6514ae6006d7b7c8fb.tar.gz |
Fix vf_eq.c and vf_eq2.c compilation with !HAVE_6REGS.
Diffstat (limited to 'libavfilter/libmpcodecs/vf_eq.c')
-rw-r--r-- | libavfilter/libmpcodecs/vf_eq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/libmpcodecs/vf_eq.c b/libavfilter/libmpcodecs/vf_eq.c index c926c51804..f8efa846c9 100644 --- a/libavfilter/libmpcodecs/vf_eq.c +++ b/libavfilter/libmpcodecs/vf_eq.c @@ -37,7 +37,7 @@ struct vf_priv_s { int contrast; }; -#if HAVE_MMX +#if HAVE_MMX && HAVE_6REGS static void process_MMX(unsigned char *dest, int dstride, unsigned char *src, int sstride, int w, int h, int brightness, int contrast) { @@ -224,7 +224,7 @@ static int vf_open(vf_instance_t *vf, char *args) if (args) sscanf(args, "%d:%d", &vf->priv->brightness, &vf->priv->contrast); process = process_C; -#if HAVE_MMX +#if HAVE_MMX && HAVE_6REGS if(ff_gCpuCaps.hasMMX) process = process_MMX; #endif |