diff options
Diffstat (limited to 'vp8/decoder/dboolhuff.c')
-rw-r--r-- | vp8/decoder/dboolhuff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vp8/decoder/dboolhuff.c b/vp8/decoder/dboolhuff.c index b874d4c46..8a7e33205 100644 --- a/vp8/decoder/dboolhuff.c +++ b/vp8/decoder/dboolhuff.c @@ -11,6 +11,7 @@ #include "dboolhuff.h" #include "vp8/common/common.h" +#include "vpx_dsp/vpx_dsp_common.h" int vp8dx_start_decode(BOOL_DECODER *br, const unsigned char *source, @@ -48,7 +49,7 @@ void vp8dx_bool_decoder_fill(BOOL_DECODER *br) unsigned char decrypted[sizeof(VP8_BD_VALUE) + 1]; if (br->decrypt_cb) { - size_t n = MIN(sizeof(decrypted), bytes_left); + size_t n = VPXMIN(sizeof(decrypted), bytes_left); br->decrypt_cb(br->decrypt_state, bufptr, decrypted, (int)n); bufptr = decrypted; } |