From cb879ec2fb67248adf9ca4762f36836cea0a8b26 Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Tue, 19 Aug 2008 16:00:26 +0000 Subject: Introducing DV_MAX_BPM macro instead of a hardcoded value for the highest number of blocks per macroblock Originally committed as revision 14840 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dvdata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/dvdata.h') diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h index c725e1a765..48ddfccd7a 100644 --- a/libavcodec/dvdata.h +++ b/libavcodec/dvdata.h @@ -2638,6 +2638,9 @@ enum dv_pack_type { /* largest possible DV frame, in bytes (PAL 50Mbps) */ #define DV_MAX_FRAME_SIZE 288000 +/* maximum number of blocks per macroblock in any DV format */ +#define DV_MAX_BPM 8 + static inline const DVprofile* dv_frame_profile(const uint8_t* frame) { if ((frame[3] & 0x80) == 0) { /* DSF flag */ -- cgit v1.2.1