mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-10-18 06:46:01 +07:00
DO NOT MERGE Consume bytes for sps with unsupported resolution
For an sps with unsupported resolution, consume the bytes. Otherwise application will feed the same sps again and again. Bug: 65718319 Test: ran POC before/after Change-Id: I7b2d35b8f31d830f9495682b86b6924bdd2f95d0 Merged-In: Ic81990030f7e6afd8cf3ebd387c5be7443b148b9 Merged-In: I02295e813f37a963d7f6216bb8a7e86648485681
This commit is contained in:
parent
6587d735fa
commit
34989f97fe
1 changed files with 1 additions and 2 deletions
|
|
@ -609,8 +609,7 @@ WORD32 ihevcd_decode(iv_obj_t *ps_codec_obj, void *pv_api_ip, void *pv_api_op)
|
|||
continue;
|
||||
}
|
||||
|
||||
if(((IHEVCD_FAIL == ret) && (ps_codec->i4_error_code == IVD_RES_CHANGED)) ||
|
||||
(IHEVCD_UNSUPPORTED_DIMENSIONS == ret))
|
||||
if((IHEVCD_FAIL == ret) && (ps_codec->i4_error_code == IVD_RES_CHANGED))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue