diff options
author | Elliott Hughes <enh@google.com> | 2015-01-30 23:40:39 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-01-30 23:40:39 -0800 |
commit | 4bac5bf335c63740958c98bab11b94dc37def621 (patch) | |
tree | b3a73056b043fe01b1edba6f68550ffe5266abf9 | |
parent | 6e651afc8c61e7cc2a1f08078e908df2810af49a (diff) | |
download | psb_video-4bac5bf335c63740958c98bab11b94dc37def621.tar.gz |
Fix "error: implicit declaration of function 'realloc'".
Change-Id: Ie37e0dc21b975f95c5c5600907641e662b3a51b2
-rwxr-xr-x | src/tng_vld_dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tng_vld_dec.c b/src/tng_vld_dec.c index 1eafecd..f8b78e3 100755 --- a/src/tng_vld_dec.c +++ b/src/tng_vld_dec.c @@ -36,6 +36,8 @@ #include "va/va_dec_jpeg.h" #include "va/va_dec_vp8.h" +#include <malloc.h> + #define GET_SURFACE_INFO_colocated_index(psb_surface) ((int) (psb_surface->extra_info[3])) #define SET_SURFACE_INFO_colocated_index(psb_surface, val) psb_surface->extra_info[3] = (uint32_t) val; |