Mercurial > libavcodec.hg
diff avcodec.h @ 771:d4cc92144266 libavcodec
handle direct rendering buffer allocation failure
| author | michaelni |
|---|---|
| date | Sun, 27 Oct 2002 00:02:23 +0000 |
| parents | e858fe220ce0 |
| children | b6eefd714bf3 |
line wrap: on
line diff
--- a/avcodec.h Sat Oct 26 18:56:43 2002 +0000 +++ b/avcodec.h Sun Oct 27 00:02:23 2002 +0000 @@ -5,8 +5,8 @@ #define LIBAVCODEC_VERSION_INT 0x000406 #define LIBAVCODEC_VERSION "0.4.6" -#define LIBAVCODEC_BUILD 4631 -#define LIBAVCODEC_BUILD_STR "4631" +#define LIBAVCODEC_BUILD 4632 +#define LIBAVCODEC_BUILD_STR "4632" enum CodecID { CODEC_ID_NONE, @@ -503,7 +503,7 @@ * encoding: unused * decoding: set by user */ - void (*get_buffer_callback)(struct AVCodecContext *c, int width, int height, int pict_type); + int (*get_buffer_callback)(struct AVCodecContext *c, int width, int height, int pict_type); /** * is 1 if the decoded stream contains b frames, 0 otherwise
