X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3dec.c;h=335c2baaea66f2ac6b9392b177958101fc36b0e2;hp=a1374b7319b1e66167ab316c3ee03a588f5a8327;hb=5b30367a7e47fe5b9014599586e819305d76c9b0;hpb=85225bb1292d1885e0261fb5109d18ecd584c267 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 */