Consume bytes for sps with unsupported resolution Bug: 65718319 Test: ran POC before/after For an sps with unsupported resolution, consume the bytes. Otherwise application will feed the same sps again and again. Change-Id: I02295e813f37a963d7f6216bb8a7e86648485681 (cherry picked from commit b1d2f31cfa81304460f577667a5332b53ec15404)
diff --git a/decoder/ihevcd_decode.c b/decoder/ihevcd_decode.c index ab71bee..05d66a2 100644 --- a/decoder/ihevcd_decode.c +++ b/decoder/ihevcd_decode.c
@@ -676,8 +676,7 @@ continue; } - if((IVD_RES_CHANGED == ret) || - (IVD_STREAM_WIDTH_HEIGHT_NOT_SUPPORTED == ret)) + if(IVD_RES_CHANGED == ret) { break; }