summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/m4v_h263/dec
diff options
context:
space:
mode:
authorAbhishek Arya <aarya@google.com>2015-08-18 16:33:43 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-18 16:33:43 +0000
commit01841c73a5a824a34d794ec69e2769b088306485 (patch)
tree085a10208389439b2f0c0799ab45b09ddd0d5650 /media/libstagefright/codecs/m4v_h263/dec
parentde5c4c4671f63457151fce7b4ad7963518f8ce36 (diff)
parentaf46239a10921980f5030222dff147a592480248 (diff)
downloadframeworks_av-01841c73a5a824a34d794ec69e2769b088306485.zip
frameworks_av-01841c73a5a824a34d794ec69e2769b088306485.tar.gz
frameworks_av-01841c73a5a824a34d794ec69e2769b088306485.tar.bz2
am af46239a: am 9abb7401: Fix compile failure after rI431aa2b7d30a942350ab6d105451c6b77e2f99d4
* commit 'af46239a10921980f5030222dff147a592480248': Fix compile failure after rI431aa2b7d30a942350ab6d105451c6b77e2f99d4
Diffstat (limited to 'media/libstagefright/codecs/m4v_h263/dec')
-rw-r--r--media/libstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp b/media/libstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
index 8c6622e..b1a39e6 100644
--- a/media/libstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
+++ b/media/libstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
@@ -22,6 +22,14 @@
#include "vlc_decode.h"
#include "bitstream.h"
+#ifndef INT32_MAX
+#define INT32_MAX 0x7fffffff
+#endif
+
+#ifndef SIZE_MAX
+#define SIZE_MAX ((size_t) -1)
+#endif
+
#define OSCL_DISABLE_WARNING_CONDITIONAL_IS_CONSTANT
#ifdef DEC_INTERNAL_MEMORY_OPT