[FFmpeg-cvslog] r16097 - in trunk/libavcodec: imgconvert.h imgresample.c

diego subversion
Sat Dec 13 13:56:30 CET 2008


Author: diego
Date: Sat Dec 13 13:56:29 2008
New Revision: 16097

Log:
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 Gr?nberg, galileo.m2 gmail com


Modified:
   trunk/libavcodec/imgconvert.h
   trunk/libavcodec/imgresample.c

Modified: trunk/libavcodec/imgconvert.h
==============================================================================
--- trunk/libavcodec/imgconvert.h	(original)
+++ trunk/libavcodec/imgconvert.h	Sat Dec 13 13:56:29 2008
@@ -33,4 +33,7 @@ int ff_fill_pointer(AVPicture *picture, 
 
 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 */

Modified: trunk/libavcodec/imgresample.c
==============================================================================
--- trunk/libavcodec/imgresample.c	(original)
+++ trunk/libavcodec/imgresample.c	Sat Dec 13 13:56:29 2008
@@ -26,6 +26,7 @@
 
 #include "avcodec.h"
 #include "dsputil.h"
+#include "imgconvert.h"
 #include "libswscale/swscale.h"
 
 #ifdef HAVE_ALTIVEC




More information about the ffmpeg-cvslog mailing list