File resample-typo-fix.diff of Package resample

--- sndlib-10/headers.c-dist	2007-01-12 12:18:53.000000000 +0100
+++ sndlib-10/headers.c	2007-01-12 12:19:08.000000000 +0100
@@ -4223,7 +4223,7 @@ int mus_header_read_with_fd (int chan)
     {
       header_type = MUS_MIDI_SAMPLE_DUMP;
       chans = 1;
-      srate = srate = (int)(1.0e9 / (float)((hdrbuf[7] + (hdrbuf[8]<<7) + (hdrbuf[9]<<14))));
+      srate = (int)(1.0e9 / (float)((hdrbuf[7] + (hdrbuf[8]<<7) + (hdrbuf[9]<<14))));
       data_size = (hdrbuf[10] + (hdrbuf[11]<<7) + (hdrbuf[12]<<14));
       /* since this file type has embedded blocks, we have to translate it elsewhere */
       return(0);
openSUSE Build Service is sponsored by