Mercurial > libavcodec.hg
diff imgconvert.c @ 3558:33d29a80bcac libavcodec
Enable swscale usage in ffmpeg
author | lucabe |
---|---|
date | Tue, 08 Aug 2006 18:51:38 +0000 |
parents | 54814e15aa3d |
children | 19c437d6aba5 |
line wrap: on
line diff
--- a/imgconvert.c Tue Aug 08 12:03:51 2006 +0000 +++ b/imgconvert.c Tue Aug 08 18:51:38 2006 +0000 @@ -2048,6 +2048,7 @@ return 0; } +#ifndef CONFIG_SWSCALER /* XXX: always use linesize. Return -1 if not supported */ int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, int src_pix_fmt, @@ -2289,6 +2290,7 @@ avpicture_free(tmp); return ret; } +#endif /* NOTE: we scan all the pixels to have an exact information */ static int get_alpha_info_pal8(const AVPicture *src, int width, int height)