support 4080 max dimension
4096 is 256 macroblocks which does not fit on 8-bits, and 8-bits
are used for some variables that contain the size.
Bug: 65438670
Change-Id: Id977303054841c458cbd21c1538a9035d178fbef
diff --git a/decoder/ih264d_defs.h b/decoder/ih264d_defs.h
index 3dd5508..4622775 100644
--- a/decoder/ih264d_defs.h
+++ b/decoder/ih264d_defs.h
@@ -34,8 +34,8 @@
*
************************************************************************
*/
-#define H264_MAX_FRAME_WIDTH 4096
-#define H264_MAX_FRAME_HEIGHT 4096
+#define H264_MAX_FRAME_WIDTH 4080
+#define H264_MAX_FRAME_HEIGHT 4080
#define H264_MAX_FRAME_SIZE (4096 * 2048)
#define H264_MIN_FRAME_WIDTH 16