Bug 919572 follow-up: remove two unused variables
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 28 Sep 2013 17:08:30 -0400
changeset 149151 cea4196cd3b2
parent 149150 edcc336b4033
child 149152 226adb587cf7
push id34458
push usereakhgari@mozilla.com
push dateSat, 28 Sep 2013 21:08:38 +0000
treeherdermozilla-inbound@cea4196cd3b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs919572
milestone27.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 919572 follow-up: remove two unused variables
content/media/MP3FrameParser.cpp
--- a/content/media/MP3FrameParser.cpp
+++ b/content/media/MP3FrameParser.cpp
@@ -14,22 +14,16 @@ namespace mozilla {
 
 /*
  * Following code taken from http://www.hydrogenaudio.org/forums/index.php?showtopic=85125
  * with permission from the author, Nick Wallette <sirnickity@gmail.com>.
  */
 
 /* BEGIN shameless copy and paste */
 
-// MPEG versions - use [version]
-const uint8_t mpeg_versions[4] = { 25, 0, 2, 1 };
-
-// Layers - use [layer]
-const uint8_t mpeg_layers[4] = { 0, 3, 2, 1 };
-
 // Bitrates - use [version][layer][bitrate]
 const uint16_t mpeg_bitrates[4][4][16] = {
   { // Version 2.5
     { 0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0, 0 }, // Reserved
     { 0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, 0 }, // Layer 3
     { 0,   8,  16,  24,  32,  40,  48,  56,  64,  80,  96, 112, 128, 144, 160, 0 }, // Layer 2
     { 0,  32,  48,  56,  64,  80,  96, 112, 128, 144, 160, 176, 192, 224, 256, 0 }  // Layer 1
   },