# HG changeset patch # User bellard # Date 1042260691 0 # Node ID 2fabb7d709e7f547f88e2c17e222598c229b3399 # Parent 165064f921eebddca23fd0a50c596299a6eaee89 build update - avpicture_fill() returns the image size diff -r 165064f921ee -r 2fabb7d709e7 avcodec.h --- a/avcodec.h Sat Jan 11 00:13:18 2003 +0000 +++ b/avcodec.h Sat Jan 11 04:51:31 2003 +0000 @@ -5,8 +5,8 @@ #define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION "0.4.6" -#define LIBAVCODEC_BUILD 4653 -#define LIBAVCODEC_BUILD_STR "4653" +#define LIBAVCODEC_BUILD 4654 +#define LIBAVCODEC_BUILD_STR "4654" enum CodecID { CODEC_ID_NONE, @@ -1047,8 +1047,8 @@ void img_resample_close(ImgReSampleContext *s); -void avpicture_fill(AVPicture *picture, UINT8 *ptr, - int pix_fmt, int width, int height); +int avpicture_fill(AVPicture *picture, UINT8 *ptr, + int pix_fmt, int width, int height); int avpicture_get_size(int pix_fmt, int width, int height); void avcodec_get_chroma_sub_sample(int pix_fmt, int *h_shift, int *v_shift); const char *avcodec_get_pix_fmt_name(int pix_fmt);