summaryrefslogtreecommitdiffstats
path: root/media/libavextensions/mediaplayerservice/AVNuExtensions.h
diff options
context:
space:
mode:
authorAmit Shekhar <ashekhar@codeaurora.org>2015-09-17 15:51:35 -0700
committerSteve Kondik <steve@cyngn.com>2015-10-29 21:27:02 -0700
commit94641325fe4dba33923740010806689dbd4620e2 (patch)
tree5d036a5c6fd74ee4f2958cbc43d6248c5d71d43c /media/libavextensions/mediaplayerservice/AVNuExtensions.h
parent01432e56b7c0e4a2b55255b5fd9d9d1977f3945d (diff)
downloadframeworks_av-94641325fe4dba33923740010806689dbd4620e2.zip
frameworks_av-94641325fe4dba33923740010806689dbd4620e2.tar.gz
frameworks_av-94641325fe4dba33923740010806689dbd4620e2.tar.bz2
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
Diffstat (limited to 'media/libavextensions/mediaplayerservice/AVNuExtensions.h')
0 files changed, 0 insertions, 0 deletions