diff options
author | James Zern <jzern@google.com> | 2015-08-17 18:19:22 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2015-08-26 20:11:32 -0700 |
commit | 5e16d397bd67b6d870c1ac34f50799f5c2fd6f91 (patch) | |
tree | 1e31dcc55d3be8c0c98433d60a10c6b7c37dc28a /vp9/vp9_dx_iface.c | |
parent | 205532f3a76752bec3a8b4d229c5fbf569b29922 (diff) | |
download | libvpx-5e16d397bd67b6d870c1ac34f50799f5c2fd6f91.tar.gz |
vpx_dsp_common: add VPX prefix to MIN/MAX
prevents redeclaration warnings;
vp8 has its own define which will be resolved in a future commit
Change-Id: Ic941fef3dd4262fcdce48b73075fe6b375f11c9c
Diffstat (limited to 'vp9/vp9_dx_iface.c')
-rw-r--r-- | vp9/vp9_dx_iface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index 96ede3c4e..8119df85f 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -18,6 +18,7 @@ #include "vpx/vp8dx.h" #include "vpx/vpx_decoder.h" #include "vpx_dsp/bitreader_buffer.h" +#include "vpx_dsp/vpx_dsp_common.h" #include "vpx_util/vpx_thread.h" #include "vp9/common/vp9_alloccommon.h" @@ -183,7 +184,7 @@ static vpx_codec_err_t decoder_peek_si_internal(const uint8_t *data, si->w = si->h = 0; if (decrypt_cb) { - data_sz = MIN(sizeof(clear_buffer), data_sz); + data_sz = VPXMIN(sizeof(clear_buffer), data_sz); decrypt_cb(decrypt_state, data, clear_buffer, data_sz); data = clear_buffer; } |