--- acoustid-fingerprinter-0.6/decoder.h~ 2013-07-12 09:51:01.391170216 +0800 +++ acoustid-fingerprinter-0.6/decoder.h 2013-07-12 09:52:22.313504046 +0800 @@ -67,7 +67,7 @@ static void initialize(); private: - static const int BUFFER_SIZE = AVCODEC_MAX_AUDIO_FRAME_SIZE * 2; + static const int BUFFER_SIZE = 192000 * 2; uint8_t *m_buffer1; uint8_t *m_buffer2; std::string m_file_name; --- acoustid-fingerprinter-0.6/ffmpeg/audioconvert.h~ 2012-09-06 02:43:51.000000000 +0800 +++ acoustid-fingerprinter-0.6/ffmpeg/audioconvert.h 2013-07-12 09:51:26.121883402 +0800 @@ -79,7 +79,7 @@ * @param fmt_name Format name, or NULL if unknown * @return Channel layout mask */ -uint64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name); +uint64_t avcodec_guess_channel_layout(int nb_channels, enum AVCodecID codec_id, const char *fmt_name); struct AVAudioConvert; typedef struct AVAudioConvert AVAudioConvert;