Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 138002
Collapse All | Expand All

(-)toolame-02l.orig/audio_read.c (-1 / +2 lines)
Lines 1-4 Link Here
1
#include <stdio.h>
1
#include <stdio.h>
2
#include <stdint.h>
2
#include <stdlib.h>
3
#include <stdlib.h>
3
#include <string.h>
4
#include <string.h>
4
#include "common.h"
5
#include "common.h"
Lines 329-335 Link Here
329
      }
330
      }
330
    }
331
    }
331
    if (NativeByteOrder == order_littleEndian) {
332
    if (NativeByteOrder == order_littleEndian) {
332
      samplerate = *(unsigned long *) (&wave_header_buffer[24]);
333
      samplerate = *(uint32_t *)(&wave_header_buffer[24]);
333
    } else {
334
    } else {
334
      samplerate = wave_header_buffer[27] +
335
      samplerate = wave_header_buffer[27] +
335
	(wave_header_buffer[26] << 8) +
336
	(wave_header_buffer[26] << 8) +

Return to bug 138002