We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ 65/236] Compiling tests/src/io/test-sink_apple_audio.c ../src/io/source_avcodec.c:188:34: error: no member named 'codec' in 'struct AVStream' if (avFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../src/io/source_avcodec.c:221:55: error: no member named 'codec' in 'struct AVStream' avCodecCtx = avFormatCtx->streams[selected_stream]->codec; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../src/io/source_avcodec.c:222:9: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] codec = avcodec_find_decoder(avCodecCtx->codec_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/io/source_avcodec.c:247:37: warning: 'channels' is deprecated [-Wdeprecated-declarations] s->input_channels = avCodecCtx->channels; ^ /usr/local/Cellar/ffmpeg/5.1/include/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:300:28: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations] int64_t input_layout = av_get_default_channel_layout(s->input_channels); ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/channel_layout.h:456:1: note: 'av_get_default_channel_layout' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:302:29: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations] int64_t output_layout = av_get_default_channel_layout(output_channels); ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/channel_layout.h:456:1: note: 'av_get_default_channel_layout' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:368:69: warning: 'channels' is deprecated [-Wdeprecated-declarations] int max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels; ^ /usr/local/Cellar/ffmpeg/5.1/include/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:377:3: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet (&avPacket); ^ /usr/local/Cellar/ffmpeg/5.1/include/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:418:9: error: implicit declaration of function 'avcodec_decode_audio4' is invalid in C99 [-Werror,-Wimplicit-function-declaration] len = avcodec_decode_audio4(avCodecCtx, avFrame, &got_frame, &avPacket); ^ ../src/io/source_avcodec.c:418:9: note: did you mean 'avcodec_decode_subtitle2'? /usr/local/Cellar/ffmpeg/5.1/include/libavcodec/avcodec.h:2545:5: note: 'avcodec_decode_subtitle2' declared here int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, ^ ../src/io/source_avcodec.c:431:16: warning: 'channels' is deprecated [-Wdeprecated-declarations] if (avFrame->channels != (sint_t)s->input_channels) { ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/frame.h:642:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:433:63: warning: 'channels' is deprecated [-Wdeprecated-declarations] "but configured for %d; is '%s' corrupt?\n", avFrame->channels, ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/frame.h:642:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ ../src/io/source_avcodec.c:451:65: warning: 'channels' is deprecated [-Wdeprecated-declarations] max_out_samples = AUBIO_AVCODEC_MAX_BUFFER_SIZE / avCodecCtx->channels; ^ /usr/local/Cellar/ffmpeg/5.1/include/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/Cellar/ffmpeg/5.1/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 9 warnings and 3 errors generated. Waf: Leaving directory `/Users/USER/Documents/dissonance/deps/aubio-0.4.7/build' Build failed -> task in 'lib_objects' failed with exit status 1 (run with -v to display more information)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: