diff mpegvideo.h @ 9003:b595a8a59967 libavcodec

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.
author iive
date Sun, 22 Feb 2009 09:02:06 +0000
parents e9d9d946f213
children 251c7a9cb795
line wrap: on
line diff
--- a/mpegvideo.h	Sun Feb 22 00:56:55 2009 +0000
+++ b/mpegvideo.h	Sun Feb 22 09:02:06 2009 +0000
@@ -635,7 +635,7 @@
 
     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