code: private int findBitRate(int bitrateIndex, int version, int layer)
  	{
  		int ind = -1;
  
  		if (version == MPEG_V_1)
  		{
  			if (layer == MPEG_L_1)
  			{
  				ind = 0;
  			}
  			else if (layer == MPEG_L_2)
  			{
  				ind = 1;
  			}
  			else if (layer == MPEG_L_3)
  			{
  				ind = 2;
  			}
  		}
  		else if ((version == MPEG_V_2) || (version == MPEG_V_25))
  		{
  			if (layer == MPEG_L_1)
  			{
  				ind = 3;
  			}
  			else if ((layer == MPEG_L_2) || (layer == MPEG_L_3))
  			{
  				ind = 4;
  			}
  		}
  
  		if ((ind != -1) && (bitrateIndex >= 0) && (bitrateIndex <= 15))
  		{
  			return bitrateTable[bitrateIndex][ind];
  		}
  		return -1;
  	}
docs: Based on the bitrate index found in the header, try to find and set the
  bitrate from the table.
  
  @param bitrateIndex the bitrate index read from the header