summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/m4v_h263/dec
diff options
context:
space:
mode:
authorAbhishek Arya <aarya@google.com>2015-08-20 01:30:13 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-20 01:30:13 +0000
commit647adb5154454912e33d8fdaab70ea7fedb280b4 (patch)
tree991d14c045ea46dae1c12688a475cbb80ae408d8 /media/libstagefright/codecs/m4v_h263/dec
parente4afd21c747e617e0b06bfdb1d62e014a87486b7 (diff)
parent39f239932e94cb47a984ce50393beba5d5a8564a (diff)
downloadframeworks_av-647adb5154454912e33d8fdaab70ea7fedb280b4.zip
frameworks_av-647adb5154454912e33d8fdaab70ea7fedb280b4.tar.gz
frameworks_av-647adb5154454912e33d8fdaab70ea7fedb280b4.tar.bz2
am 39f23993: am 06a1b202: am 5d629bf2: am 93bc6176: am 01841c73: am af46239a: am 9abb7401: Fix compile failure after rI431aa2b7d30a942350ab6d105451c6b77e2f99d4
* commit '39f239932e94cb47a984ce50393beba5d5a8564a': 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 e99c68f..eddc148 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