aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-31 07:54:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-31 07:54:46 +0000
commitfbce38ec2c4f4e6be454cbd1e0087b1c0a352a9c (patch)
treef72ffb47684fb3d0009ed25808085769c0bf83ac
parent76bd3954a4802b4bb2e797e49488c31315e9c913 (diff)
parent4bac5bf335c63740958c98bab11b94dc37def621 (diff)
downloadpsb_video-fbce38ec2c4f4e6be454cbd1e0087b1c0a352a9c.tar.gz
am 4bac5bf3: Fix "error: implicit declaration of function \'realloc\'".
* commit '4bac5bf335c63740958c98bab11b94dc37def621': Fix "error: implicit declaration of function 'realloc'".
-rwxr-xr-xsrc/tng_vld_dec.c2
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;