Skip to content

anonymous /gist:aa4499e6515995b2acdf secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Something went wrong with that request. Please try again.