summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs
diff options
context:
space:
mode:
authorShivaprasad Hongal <shongal@codeaurora.org>2015-12-11 15:00:51 -0800
committerSteve Kondik <steve@cyngn.com>2016-01-08 20:58:13 -0800
commit8bdd0953532f16f6f3e413567536a6ddc2ce2d4e (patch)
tree7d079bd9ba48d3f8954eecd79839bea709d9bc7c /media/libstagefright/codecs
parent02645bf17d4ab34100130cdee3d484f47a590c88 (diff)
downloadframeworks_av-8bdd0953532f16f6f3e413567536a6ddc2ce2d4e.zip
frameworks_av-8bdd0953532f16f6f3e413567536a6ddc2ce2d4e.tar.gz
frameworks_av-8bdd0953532f16f6f3e413567536a6ddc2ce2d4e.tar.bz2
ACodec: Fix error handling in OutputPortSettingsChangedState
Freeing the input buffers & node in ACodec::OutputPortSettingsChangedState on error, can cause NuPlayerDecoder to deference freed buffers. Instead of freeing the node internally on error in OutputPortSettingsChangedState, notify error to NuPlayer, and add kWhatShutDown handling to initiate Idle state transition. Change-Id: I7778d759c564fad27d266ac63d293bf0c30c029b
Diffstat (limited to 'media/libstagefright/codecs')
0 files changed, 0 insertions, 0 deletions