mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
audioconvert: fix type of av_get_default_channel_layout
Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b93cb8383f
commit
d2ba604421
@ -132,7 +132,7 @@ int av_get_channel_layout_nb_channels(int64_t channel_layout)
|
|||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
int av_get_default_channel_layout(int nb_channels) {
|
int64_t av_get_default_channel_layout(int nb_channels) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; channel_layout_map[i].name; i++)
|
for (i = 0; channel_layout_map[i].name; i++)
|
||||||
if (nb_channels == channel_layout_map[i].nb_channels)
|
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.
|
* 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 */
|
#endif /* AVUTIL_AUDIOCONVERT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user