Return a channel layout and the number of channels based on the specified name.
This function is similar to (@see av_get_channel_layout), but can also parse
unknown channel layout specifications.
@paramin name channel layout specification string
@paramout channel_layout parsed channel layout (0 if unknown)
@paramout nb_channels number of channels
@return 0 on success, AVERROR(EINVAL) if the parsing fails.
Return a channel layout and the number of channels based on the specified name.
This function is similar to (@see av_get_channel_layout), but can also parse unknown channel layout specifications.
@paramin name channel layout specification string @paramout channel_layout parsed channel layout (0 if unknown) @paramout nb_channels number of channels
@return 0 on success, AVERROR(EINVAL) if the parsing fails.