Bug 919572 follow-up: remove two unused variables
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 28 Sep 2013 17:08:30 -0400
changeset 149167 cea4196cd3b23fb559d5899a2161dbe9c488c977
parent 149166 edcc336b40338c38639a332989c7d0dada46a88b
child 149168 226adb587cf7201d11de6ce4f3dd0528e6aacd5a
push id25374
push usercbook@mozilla.com
push dateSun, 29 Sep 2013 09:37:16 +0000
treeherdermozilla-central@8f805d3ef377 [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
   },