mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-10 03:32:22 +08:00
Check that channel layout is compatible with number of channels for
output audio stream. Originally committed as revision 18621 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -73,6 +73,10 @@ void avcodec_get_channel_layout_string(char *buf, int buf_size, int nb_channels,
|
||||
*/
|
||||
int64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name);
|
||||
|
||||
/**
|
||||
* @return the number of channels in the channel layout.
|
||||
*/
|
||||
int avcodec_channel_layout_num_channels(int64_t channel_layout);
|
||||
|
||||
struct AVAudioConvert;
|
||||
typedef struct AVAudioConvert AVAudioConvert;
|
||||
|
Reference in New Issue
Block a user