Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ffmpeg Update: Replace deprecated av_get_channel_layout_string with a…
…v_get_channel_layout_describe ``` [ 17/505| 3%] [static] libapi_server.a: C++ projects/api_server/controllers/v1/vhosts/apps/output_profiles/output_profiles_controller.cpp => intermediates/RELEASE/objs/api_server/controllers/v1/vhosts/apps/output_profiles/output_profiles_controller.o In file included from projects/providers/multiplex/multiplex_stream.h:11, from projects/providers/multiplex/multiplex_application.h:16, from projects/api_server/controllers/v1/vhosts/apps/multiplex_channels/multiplex_channels_controller.cpp:13: projects/modules/ffmpeg/ffmpeg_conv.h: In static member function ‘static ov::String ffmpeg::Conv::CodecInfoToString(const AVCodecContext*, const AVCodecParameters*)’: projects/modules/ffmpeg/ffmpeg_conv.h:678:51: error: ‘::av_get_channel_layout_string’ has not been declared; did you mean ‘av_channel_layout_uninit’? 678 | ::av_get_channel_layout_string(channel_layout, OV_COUNTOF(channel_layout), parameters->channels, parameters->channel_layout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | av_channel_layout_uninit ``` ``` /** * Return a description of a channel layout. * If nb_channels is <= 0, it is guessed from the channel_layout. * * @param buf put here the string containing the channel layout * @param buf_size size in bytes of the buffer * @param nb_channels number of channels * @param channel_layout channel layout bitset * @deprecated use av_channel_layout_describe() */ attribute_deprecated void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout); ```
- Loading branch information