Skip to content

Instantly share code, notes, and snippets.

Created August 29, 2013 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/aa4499e6515995b2acdf to your computer and use it in GitHub Desktop.
Save anonymous/aa4499e6515995b2acdf to your computer and use it in GitHub Desktop.
In file included from /home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.h:32:0,
from /home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.cpp:1:
/home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/ffmpeg/audioconvert.h:82:61: error: use of enum ‘CodecID’ without previous declaration
uint64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name);
^
In file included from /home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.cpp:1:0:
/home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.h:70:33: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
static const int BUFFER_SIZE = AVCODEC_MAX_AUDIO_FRAME_SIZE * 2;
^
/home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.h: In member function ‘void Decoder::Decode(FingerprintCalculator*, int)’:
/home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.h:253:40: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3682) [-Wdeprecated-declarations]
int consumed = avcodec_decode_audio3(
^
/home/xxx/Downloads/acoustid-fingerprinter/src/acoustid-fingerprinter-0.6/decoder.h:255:45: warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3682) [-Wdeprecated-declarations]
&packet_temp);
^
make[2]: *** [CMakeFiles/fpsubmit.dir/decoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/fpsubmit.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment