summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorIvan Kalvachev <ikalvachev@gmail.com>2009-02-22 09:02:06 +0000
committerIvan Kalvachev <ikalvachev@gmail.com>2009-02-22 09:02:06 +0000
commit21effaa4b20bbd34ecc11e5bef1211dcca6fc2bc (patch)
tree1133d9773a2f902e9bfbcb694fc6364bb31409d9 /libavcodec/mpegvideo.h
parentd8f28a77270b2d94fea92d56c8737eb626adce8d (diff)
Change the type of pblocks from pointers to short array into
pointers to array of 64 DCTELEM, similarly to other block fields. This also get rid of some casts and fixes a warning. Originally committed as revision 17517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 8f25ff3dc7..8709deeb02 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -635,7 +635,7 @@ typedef struct MpegEncContext {
uint8_t *ptr_lastgob;
int swap_uv;//vcr2 codec is mpeg2 varint with UV swaped
- short * pblocks[12];
+ DCTELEM (*pblocks[12])[64];
DCTELEM (*block)[64]; ///< points to one of the following blocks
DCTELEM (*blocks)[8][64]; // for HQ mode we need to keep the best block