[vp9d]: fix warning when build code

Change-Id: I86bdac9205fbc7b58f9d145ef8fcbbb8b21d6591
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2018-10-10 09:23:48 +08:00
parent 39e6d89f90
commit 2a0068de4c

View File

@@ -163,7 +163,7 @@ RK_S32 vp9d_split_frame(SplitContext_t *ctx,
while (n_frames--) { \
RK_U32 sz = rd; \
idx += a; \
if (sz == 0 || sz > size) { \
if (sz == 0 || sz > (RK_U32)size) { \
s->n_frames = 0; \
*out_size = size > full_size ? full_size : size; \
*out_data = data; \