diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-03-09 19:54:05 -0800 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-03-12 03:41:36 -0800 |
commit | b1d2f812c9c581d38fe7c93a4ea24430fedc89f1 (patch) | |
tree | 8e5fa1639902ba3bfc47e3799bc2634d927a556b /libavcodec/vp8.h | |
parent | 628b48db85dae7ad212a63dafcd6a3bf8d8e93f3 (diff) | |
download | ffmpeg-b1d2f812c9c581d38fe7c93a4ea24430fedc89f1.tar.gz |
VP8: token probs doesn't need padding
prob[0] is the only prob array ever accessed, so prob[1] can serve as padding
for prob[0].
Diffstat (limited to 'libavcodec/vp8.h')
-rw-r--r-- | libavcodec/vp8.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h index d3b8705ea0..b94d453bef 100644 --- a/libavcodec/vp8.h +++ b/libavcodec/vp8.h @@ -233,8 +233,7 @@ typedef struct { uint8_t golden; uint8_t pred16x16[4]; uint8_t pred8x8c[3]; - /* Padded to allow overreads */ - uint8_t token[4][17][3][NUM_DCT_TOKENS-1]; + uint8_t token[4][16][3][NUM_DCT_TOKENS-1]; uint8_t mvc[2][19]; } prob[2]; } VP8Context; |