Commit 56a61629 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16097 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cd274183
......@@ -33,4 +33,7 @@ int ff_fill_pointer(AVPicture *picture, uint8_t *ptr, int pix_fmt, int height);
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 */
......@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "dsputil.h"
#include "imgconvert.h"
#include "libswscale/swscale.h"
#ifdef HAVE_ALTIVEC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment