Commit d2ba6044 authored by Marton Balint's avatar Marton Balint Committed by Michael Niedermayer

audioconvert: fix type of av_get_default_channel_layout

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b93cb838
......@@ -132,7 +132,7 @@ int av_get_channel_layout_nb_channels(int64_t channel_layout)
return count;
}
int av_get_default_channel_layout(int nb_channels) {
int64_t av_get_default_channel_layout(int nb_channels) {
int i;
for (i = 0; channel_layout_map[i].name; i++)
if (nb_channels == channel_layout_map[i].nb_channels)
......
......@@ -95,6 +95,6 @@ int av_get_channel_layout_nb_channels(int64_t channel_layout);
/**
* Return default channel layout for a given number of channels.
*/
int av_get_default_channel_layout(int nb_channels);
int64_t av_get_default_channel_layout(int nb_channels);
#endif /* AVUTIL_AUDIOCONVERT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment