decoder: Fix valid SPS check in parsing SEI

am: 61646846b3

Change-Id: I16a64c64eab92d8934357bac8d1cb76b1a413573
This commit is contained in:
Harish Mahendrakar 2019-06-20 20:34:24 -07:00 committed by android-build-merger
commit 7f5da9039c

View file

@ -2668,7 +2668,7 @@ void ihevcd_parse_sei_payload(codec_t *ps_codec,
break;
}
}
if(NULL == ps_sps)
if(!ps_sps->i1_sps_valid)
{
return;
}