Commit 8a3bcbae authored by Rafaël Carré's avatar Rafaël Carré
Browse files

mpeg_audio: comment unused variable

parent 500b3c2e
...@@ -633,7 +633,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels, ...@@ -633,7 +633,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels,
}; };
int i_version, i_mode, i_emphasis; int i_version, i_mode, i_emphasis;
bool b_padding, b_mpeg_2_5, b_crc; bool b_padding, b_mpeg_2_5;
int i_frame_size = 0; int i_frame_size = 0;
int i_bitrate_index, i_samplerate_index; int i_bitrate_index, i_samplerate_index;
int i_max_bit_rate; int i_max_bit_rate;
...@@ -641,7 +641,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels, ...@@ -641,7 +641,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels,
b_mpeg_2_5 = 1 - ((i_header & 0x100000) >> 20); b_mpeg_2_5 = 1 - ((i_header & 0x100000) >> 20);
i_version = 1 - ((i_header & 0x80000) >> 19); i_version = 1 - ((i_header & 0x80000) >> 19);
*pi_layer = 4 - ((i_header & 0x60000) >> 17); *pi_layer = 4 - ((i_header & 0x60000) >> 17);
b_crc = !((i_header >> 16) & 0x01); //bool b_crc = !((i_header >> 16) & 0x01);
i_bitrate_index = (i_header & 0xf000) >> 12; i_bitrate_index = (i_header & 0xf000) >> 12;
i_samplerate_index = (i_header & 0xc00) >> 10; i_samplerate_index = (i_header & 0xc00) >> 10;
b_padding = (i_header & 0x200) >> 9; b_padding = (i_header & 0x200) >> 9;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment