#include "libavutil/imgutils.h"
#include "libavutil/colorspace.h"
+#if FF_API_AVPICTURE
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
enum AVPixelFormat pix_fmt, int width, int height)
{
av_image_copy(dst->data, dst->linesize, (const uint8_t **)src->data,
src->linesize, pix_fmt, width, height);
}
-
+#endif /* FF_API_AVPICTURE */