diff options
Diffstat (limited to 'vp9/decoder/vp9_decodframe.c')
-rw-r--r-- | vp9/decoder/vp9_decodframe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index 8c935f0da..10c97c0bc 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -1290,9 +1290,8 @@ static void read_coef_probs(VP9D_COMP *pbi, BOOL_DECODER* const bc) { static void update_frame_size(VP9D_COMP *pbi) { VP9_COMMON *cm = &pbi->common; - /* our internal buffers are always multiples of 16 */ - const int width = (cm->width + 15) & ~15; - const int height = (cm->height + 15) & ~15; + const int width = multiple16(cm->width); + const int height = multiple16(cm->height); cm->mb_rows = height >> 4; cm->mb_cols = width >> 4; |