Hi Praveen,
I can't reproduce the same error on emulator that I get on production system. But please review two attached H.264 elementary streams and logs produced by decoder.
First bug - decoder releases non existing buffer.
Second bug - decoder fails to decode H.264 stream. Interesting that this stream was created by C66x H.264 HP encoder.
You can find files by the following URL:
https://drive.google.com/file/d/0Byw88ezNrM71Z0YwSzdlYzdLRDA/edit?usp=sharing
The bugs can be reproduced by my demo attached above.
Regards,
Andrey Lisnevich