diff options
author | lucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-17 15:02:13 +0000 |
---|---|---|
committer | lucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-17 15:02:13 +0000 |
commit | 1f8851863813c6a94cd1d6e2ca5fb108cd6ed61f (patch) | |
tree | 1ab193d679454ecfc9f0898c44239f1aa6dd07cf /libmpcodecs/vf_smartblur.c | |
parent | a9aca9d6443b30d53843e13a978964ba34d4801a (diff) | |
download | mpv-1f8851863813c6a94cd1d6e2ca5fb108cd6ed61f.tar.bz2 mpv-1f8851863813c6a94cd1d6e2ca5fb108cd6ed61f.tar.xz |
Use PIX_FMT_* instead of IMGFMT_* when calling sws_getContext()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19876 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_smartblur.c')
-rw-r--r-- | libmpcodecs/vf_smartblur.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_smartblur.c b/libmpcodecs/vf_smartblur.c index 5de9040367..ba9b5a19bb 100644 --- a/libmpcodecs/vf_smartblur.c +++ b/libmpcodecs/vf_smartblur.c @@ -29,6 +29,7 @@ #include <malloc.h> #endif +#include "avutil.h" #include "img_format.h" #include "mp_image.h" #include "vf.h" @@ -91,7 +92,7 @@ static int allocStuff(FilterParam *f, int width, int height){ swsF.lumH= swsF.lumV= vec; swsF.chrH= swsF.chrV= NULL; f->filterContext= sws_getContext( - width, height, IMGFMT_Y8, width, height, IMGFMT_Y8, get_sws_cpuflags(), &swsF, NULL, NULL); + width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, get_sws_cpuflags(), &swsF, NULL, NULL); sws_freeVec(vec); |