Bug 1407063 - Fix non-unified build in MoofParser.cpp. r?gerald draft
authorPhilippe Normand <philn@igalia.com>
Thu, 05 Oct 2017 15:51:32 +0200
changeset 677017 3fbc459d6f3104f169e235a8905a8b1a02cb0ebb
parent 676713 613f64109bdef590b9748355441b3c620efa7be5
child 677018 19585ea3eef6419ab1ed7034d236121ff28175f6
push id83665
push userbmo:cpearce@mozilla.com
push dateMon, 09 Oct 2017 21:50:20 +0000
reviewersgerald
bugs1407063
milestone58.0a1
Bug 1407063 - Fix non-unified build in MoofParser.cpp. r?gerald The stagefright namespace isn't used in this file and because it wasn't previously declared in this compilation unit, a compiler error was raised. MozReview-Commit-ID: HoYyrmIIXSV
media/libstagefright/binding/MoofParser.cpp
--- a/media/libstagefright/binding/MoofParser.cpp
+++ b/media/libstagefright/binding/MoofParser.cpp
@@ -19,17 +19,16 @@ extern mozilla::LogModule* GetDemuxerLog
 #define LOG(name, arg, ...) MOZ_LOG(GetDemuxerLog(), mozilla::LogLevel::Debug, (TOSTRING(name) "(%p)::%s: " arg, this, __func__, ##__VA_ARGS__))
 #else
 #define LOG(...)
 #endif
 
 namespace mp4_demuxer
 {
 
-using namespace stagefright;
 using namespace mozilla;
 
 const uint32_t kKeyIdSize = 16;
 
 bool
 MoofParser::RebuildFragmentedIndex(const MediaByteRangeSet& aByteRanges)
 {
   BoxContext context(mSource, aByteRanges);