summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2009-12-19 08:53:01 -0800
committerJames Dong <jdong@google.com>2009-12-19 08:53:01 -0800
commit2d3b2097320614cb088bd4eba795905c2a4130b5 (patch)
tree85045dedb3bc8a184e68a87d088a585d213fc34c /media/libstagefright/codecs
parentfd1fe13b4584628d73df31717794e8e886d6bc39 (diff)
downloadframeworks_av-2d3b2097320614cb088bd4eba795905c2a4130b5.zip
frameworks_av-2d3b2097320614cb088bd4eba795905c2a4130b5.tar.gz
frameworks_av-2d3b2097320614cb088bd4eba795905c2a4130b5.tar.bz2
Attempt to fix simular build break.
Missing header file stdlib.h for free, malloc, etc
Diffstat (limited to 'media/libstagefright/codecs')
-rw-r--r--media/libstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp2
-rw-r--r--media/libstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp b/media/libstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
index 10687e0..c3ef0d2 100644
--- a/media/libstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
+++ b/media/libstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
@@ -16,7 +16,7 @@
//#define LOG_NDEBUG 0
#define LOG_TAG "M4vH263Decoder"
#include <utils/Log.h>
-
+#include <stdlib.h> // for free
#include "ESDS.h"
#include "M4vH263Decoder.h"
diff --git a/media/libstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h b/media/libstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h
index e427b64..ec6871f 100644
--- a/media/libstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h
+++ b/media/libstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h
@@ -21,6 +21,7 @@
#include <stdint.h>
#include <string.h>
+#include <stdlib.h> // for free, malloc, etc
// Redefine the int types
typedef uint8_t uint8;