diff imgconvert.h @ 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 c4a4495715dd
children eaa08ce79f9a
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 */