Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: media/mp4/aac.cc

Issue 11198018: Move ChannelLayout into media namespace. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/channel_layout.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/aac.cc
diff --git a/media/mp4/aac.cc b/media/mp4/aac.cc
index 2982687aa7f54ced154ec4836873b3027db63cba..0214eb3c64ae7b18de013798af490ccd23b5d9e8 100644
--- a/media/mp4/aac.cc
+++ b/media/mp4/aac.cc
@@ -17,6 +17,8 @@ static const int kFrequencyMap[] = {
22050, 16000, 12000, 11025, 8000, 7350
};
+namespace media {
+
static ChannelLayout GetChannelLayout(uint8 channel_config) {
switch (channel_config) {
case 1:
@@ -40,8 +42,6 @@ static ChannelLayout GetChannelLayout(uint8 channel_config) {
return CHANNEL_LAYOUT_UNSUPPORTED;
}
-namespace media {
-
namespace mp4 {
AAC::AAC()
« no previous file with comments | « media/base/channel_layout.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698