commit | 91ba994751d54026381d7718efbcc849a75c20fe | [log] [tgz] |
---|---|---|
author | Amit Shekhar <ashekhar@codeaurora.org> | Thu Sep 17 15:51:35 2015 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Oct 21 12:25:31 2015 -0700 |
tree | 9a723e1533612c5b414e064200e0f9b41ab50d19 | |
parent | dc8d9caa08290a0907c23c7874bdca8b2d721634 [diff] |
nuplayer: Fix de-referencing NULL mSource InstantiateDecoderAction is executed after performing reset. By the time performReset call is over, mSource is cleared and instantiateDecoderAction is executed on a NULL mSource - causing crash. At this point of time, mSource is already reset and it is not intended to be used in future, so, we can safely return. Check for NULL to avoid crash. CRs-Fixed: 902831 Change-Id: If438da2b8c778c6db3640c0bc2e53d3ef68d286c