secret
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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...

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.