videodecoder: Video size change is independent of new sps
Some malformed clips have more than one PPS and the second PPS will
refer to a non-exist SPS so that it reports a new SPS is found.
The log logic will set mSizeChanged to be true once data->new_sps is
1 and HandleFormatChange will be called. As the buffer containing the
second PPS will be retained during format change, the decoder will fall
into a infinite loop of format change.
Signed-off-by: Dan Liang <email@example.com>
1 file changed