audioconvert: fix type of av_get_default_channel_layout
authorMarton Balint <cus@passwd.hu>
Thu, 6 Oct 2011 21:44:48 +0000 (23:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 7 Oct 2011 00:53:18 +0000 (02:53 +0200)
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/audioconvert.c
libavutil/audioconvert.h

index be7a0f7..d89796d 100644 (file)
@@ -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)
index 03965cc..8cef7f6 100644 (file)
@@ -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 */