Ticket #6053: aacdecoder.patch

File aacdecoder.patch, 871 bytes (added by Paul Mason <latepaul@…>, 15 years ago)
  • aacdecoder.cpp

     
    301301// some linux distros (gentoo, debian) modify the faad2 api with stdint.h types
    302302// instead of unsigned long int
    303303#ifdef FAAD_MODIFIED
    304     uint32_t srate_tmp;
     304    uint32_t* srate_tmp;
    305305    int err = faacDecInit2(decoder_handle, buffer, buffer_size, &srate_tmp, &channels);
    306306    sample_rate = srate_tmp;
    307307    if (err < 0)
  • aacdecoder.h

     
    5151    bool done, finish;
    5252    long len, bitrate;
    5353    uchar channels;
    54     unsigned long sample_rate;
     54    uint32_t sample_rate;
    5555    unsigned long output_size;
    5656    double totalTime, seekTime;
    5757