X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3dec.c;h=335c2baaea66f2ac6b9392b177958101fc36b0e2;hp=a1374b7319b1e66167ab316c3ee03a588f5a8327;hb=34762fdc56d5294c15e03fda433ecfccdc6c5fb2;hpb=203bfcadc14507f4d01f99099efec8ee976556b1 diff --git a/mp3dec.c b/mp3dec.c index a1374b73..335c2baa 100644 --- a/mp3dec.c +++ b/mp3dec.c @@ -74,7 +74,7 @@ next_frame: mad_synth_frame(&pmd->synth, &pmd->frame); for (i = 0; i < pmd->synth.pcm.length; i++) { - signed short s = MAD_TO_SHORT(pmd->synth.pcm.samples[0][i]); + int s = MAD_TO_SHORT(pmd->synth.pcm.samples[0][i]); write_int16_host_endian(fn->buf + fn->loaded, s); fn->loaded += 2; if (MAD_NCHANNELS(&pmd->frame.header) == 2) { /* stereo */