Mercurial > libavcodec.hg
diff mpegvideo.h @ 2422:18b8b2dcc037 libavcodec
various security fixes and precautionary checks
author | michael |
---|---|
date | Wed, 12 Jan 2005 00:16:25 +0000 |
parents | 582e635cfa08 |
children | 14fef0f3f532 |
line wrap: on
line diff
--- a/mpegvideo.h Tue Jan 11 08:16:04 2005 +0000 +++ b/mpegvideo.h Wed Jan 12 00:16:25 2005 +0000 @@ -68,6 +68,8 @@ #define SI_TYPE FF_SI_TYPE ///< Switching Intra #define SP_TYPE FF_SP_TYPE ///< Switching Predicted +#define MAX_MB_BYTES (30*16*16*3/8 + 120) + typedef struct Predictor{ double coeff; double count; @@ -599,9 +601,9 @@ int divx_version; int divx_build; int divx_packed; -#define BITSTREAM_BUFFER_SIZE 1024*256 uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorder them int bitstream_buffer_size; + int allocated_bitstream_buffer_size; int xvid_build;