Mercurial > libavcodec.hg
changeset 8313:2eaafc02cd3d libavcodec
Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Grnberg, galileo.m2 gmail com
author | diego |
---|---|
date | Sat, 13 Dec 2008 12:56:29 +0000 |
parents | 87ae12cd9db0 |
children | e983153e2d72 |
files | imgconvert.h imgresample.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/imgconvert.h Sat Dec 13 10:53:30 2008 +0000 +++ b/imgconvert.h Sat Dec 13 12:56:29 2008 +0000 @@ -33,4 +33,7 @@ int ff_get_plane_bytewidth(enum PixelFormat pix_fmt, int width, int plane); +int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src, + int src_pix_fmt, int src_width, int src_height); + #endif /* AVCODEC_IMGCONVERT_H */