summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHenrik B Andersson <henrikb.andersson@sonymobile.com>2012-10-31 13:02:47 +0100
committerJohan Redestig <johan.redestig@sonymobile.com>2012-11-27 10:17:01 +0100
commitbb983e5b4640555533241753f4a8e4b48331ed1d (patch)
treecfee2e54111c2861eeac900dc7056e98693192cb /include/media
parent33cf49b168a88a88167c46b01787a57b49cd875f (diff)
downloadframeworks_av-bb983e5b4640555533241753f4a8e4b48331ed1d.zip
frameworks_av-bb983e5b4640555533241753f4a8e4b48331ed1d.tar.gz
frameworks_av-bb983e5b4640555533241753f4a8e4b48331ed1d.tar.bz2
Fix of uninitialized mIsDrm variable.
The mIsDrm is a bool that isn't initialized. This causes it to be true in most default cases. Change-Id: I41b534514bf6a3ca88a9f0994b814d55fcd7453b
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/MediaExtractor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/MediaExtractor.h b/include/media/stagefright/MediaExtractor.h
index 94090ee..3076a96 100644
--- a/include/media/stagefright/MediaExtractor.h
+++ b/include/media/stagefright/MediaExtractor.h
@@ -67,7 +67,7 @@ public:
}
protected:
- MediaExtractor() {}
+ MediaExtractor() : mIsDrm(false) {}
virtual ~MediaExtractor() {}
private: