OSDN Git Service

Fix freed memory references
authorMarco Nelissen <marcone@google.com>
Thu, 16 Oct 2014 17:51:23 +0000 (10:51 -0700)
committerMarco Nelissen <marcone@google.com>
Thu, 16 Oct 2014 17:51:23 +0000 (10:51 -0700)
commit942481eee58cb1e81853bc79e25359a7ee8a59e1
tree571b20ba30443519247650955079ddde1a7306bb
parent380757ba5c927015d403e3b97cc418413330453e
Fix freed memory references

MPEG4Source references memory owned by MPEG4Extractor, and therefore an
MPEG4Extractor needs to be kept around as long as the MPEG4Sources obtained
from it exist.

Bug: 17890354
Change-Id: I399e18ec78517559ccc0914ffc7e099687c0ba51
media/libstagefright/MPEG4Extractor.cpp