summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorJason Garrett-Glaser <jason@x264.com>2011-07-04 06:05:34 -0700
committerJason Garrett-Glaser <jason@x264.com>2011-07-04 06:39:20 -0700
commit5029a406334ad0eaf92130e23d596e405a8a5aa0 (patch)
tree0ac6ed134f8b6ab71c916dbcbdbd020f00f17f13 /libavcodec/mpegvideo.h
parente589e4b82de49526e5d900fdda5b8321727be004 (diff)
H.264: fix overreads of qscale_table
filter_mb_fast assumed that qscale_table was padded like many of the other tables.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e072aa7c33..d309fcb83b 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -88,6 +88,7 @@ typedef struct Picture{
* halfpel luma planes.
*/
uint8_t *interpolated[3];
+ int8_t *qscale_table_base;
int16_t (*motion_val_base[2])[2];
uint32_t *mb_type_base;
#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if there is just one type