diff options
Diffstat (limited to 'apps/plugins/mp3_encoder.c')
| -rw-r--r-- | apps/plugins/mp3_encoder.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index 4094b4c..11d001c 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c @@ -871,8 +871,10 @@ int Read32BitsLowHigh(int fd) int wave_open(void) { unsigned short wFormatTag; + /* rockbox: comment 'set but unused" variable unsigned long dAvgBytesPerSec; unsigned short wBlockAlign; + */ unsigned short bits_per_samp; long header_size; @@ -889,8 +891,8 @@ int wave_open(void) cfg.channels = Read16BitsLowHigh(wavfile); cfg.samplerate = Read32BitsLowHigh(wavfile); - dAvgBytesPerSec = Read32BitsLowHigh(wavfile); - wBlockAlign = Read16BitsLowHigh(wavfile); + /*dAvgBytesPerSec*/ Read32BitsLowHigh(wavfile); + /*wBlockAlign */ Read16BitsLowHigh(wavfile); bits_per_samp = Read16BitsLowHigh(wavfile); if(wFormatTag != 0x0001) return -5; /* linear PCM required */ |