diff options
author | Shivaprasad Hongal <shongal@codeaurora.org> | 2015-09-23 00:16:16 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:25:09 -0600 |
commit | dfee9b751a7c2b71fe87cd11162f717b898d6a21 (patch) | |
tree | fef0462e5244b9ecd05385977a8b44766c2269f7 /include | |
parent | bead22ce2666c14d91b263097b1b24f9957cd53a (diff) | |
download | frameworks_av-dfee9b751a7c2b71fe87cd11162f717b898d6a21.zip frameworks_av-dfee9b751a7c2b71fe87cd11162f717b898d6a21.tar.gz frameworks_av-dfee9b751a7c2b71fe87cd11162f717b898d6a21.tar.bz2 |
Stagefright: Initialize custom data
Uninitilized custom data is causing close on wrong fd.
Change-Id: I361f73c0ba7e5fe66ba27f778bd31c33e0f0bb01
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/ACodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index 6bd7bc6..55833b6 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -155,6 +155,7 @@ protected: }; struct BufferInfo { + BufferInfo() : mCustomData(-1) {} enum Status { OWNED_BY_US, OWNED_BY_COMPONENT, |