Decoder: Fix in checking for valid profile flags
Apart from Baseline, main and high profile, only extended profile
is supported provided, constraint_set0_flag or constraint_set1_flag are set to 1
Bug: 31999646
FPIIM-176: Remote code execution vulnerability in libstagefright CVE-2017-0409 A-31999646
Change-Id: I3b62069efc49e222a7126fba0805fa9124aac8f2
(cherry picked from commit d7eee555dc124a4ab7977f073c6b4a76c346f760)
(cherry picked from commit 1b05cf3e70a693e9e242dd9d153fd141f9833ff1)
diff --git a/decoder/ih264d_defs.h b/decoder/ih264d_defs.h
index e266206..0682339 100644
--- a/decoder/ih264d_defs.h
+++ b/decoder/ih264d_defs.h
@@ -257,6 +257,7 @@
/** Profile Types*/
#define BASE_PROFILE_IDC 66
#define MAIN_PROFILE_IDC 77
+#define EXTENDED_PROFILE_IDC 88
#define HIGH_PROFILE_IDC 100