summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb3c02f)
raw | patch | inline | side by side (parent: cb3c02f)
author | Hongmei Gou <h-gou@ti.com> | |
Tue, 8 Nov 2016 17:36:08 +0000 (12:36 -0500) | ||
committer | Buddy Liong <a0270631@ti.com> | |
Mon, 2 Oct 2017 15:28:56 +0000 (10:28 -0500) |
Change-Id: I28e12d5a132382e83ba5a1daffb91a16a66106b5
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
src/ti/framework/dce/dce.c | patch | blob | history |
index f33b772a60f05d953000dc6ab079554883bbc80d..62bea8cf70b08fc7fff52a1e3cc11bcc3ff63d44 100644 (file)
/* the correct width and height for the video resolution to be decoded. */
/* It is coded to test the Error Recovery when IPUMM on IPU2 is crashing */
/* by simulating the condition where A15 will send maxHeight as zero */
- if( ((VIDDEC3_Params*)static_params)->maxHeight == 0 ) {
+ if( (((VIDDEC3_Params*)static_params)->maxHeight == 0) && (codec_id == OMAP_DCE_VIDDEC3) ) {
DEBUG("IPC RECOVERY will be performed due to maxHeight is zero which will cause exception!!!!");
num_params = num_params / ((VIDDEC3_Params*)static_params)->maxHeight;
System_printf("Crashing the IPU2 after divided by zero num_params %d", num_params);