Fix resolution change within a decode call.
If resolution changes within a decode call,due to multiple
sps, the decoder hangs as the the application will
give the same data again in the next decode call. This
results in a hang. Fixed this by flaging an error,
when sps/resoultion changes within a process call.
Test: ran POC on patched O-based system w/o hanging
(cherry picked from commit fe18375850fe04b8c4ff2f1b20069e161f718e53)
3 files changed