summaryrefslogtreecommitdiffstats
path: root/media/libavextensions
diff options
context:
space:
mode:
authorShivaprasad Hongal <shongal@codeaurora.org>2015-10-23 11:43:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-26 19:24:52 -0700
commit1dafcd15418346edb5b0fd1a925a29ea90b5c3c2 (patch)
tree0158f557b618bb263bc9fdc1768fa7e80707b4b1 /media/libavextensions
parentbbb9b1da50edbbed193b342be19b62e232254f27 (diff)
downloadframeworks_av-1dafcd15418346edb5b0fd1a925a29ea90b5c3c2.zip
frameworks_av-1dafcd15418346edb5b0fd1a925a29ea90b5c3c2.tar.gz
frameworks_av-1dafcd15418346edb5b0fd1a925a29ea90b5c3c2.tar.bz2
GenericSource: Hold an additional reference to dataSource.
mDataSource can be deleted by client thread while GenericSource looper is accessing dataSource in sniff functions, which can lead to race condition. Add local sp<> to hold an additional reference to dataSource. Change-Id: I9e51f75f3c2bd703e381230dd93cb4d3f6621dab CRs-Fixed: 923729
Diffstat (limited to 'media/libavextensions')
0 files changed, 0 insertions, 0 deletions