]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/audioconvert.h
Only use .size in ARM assembly when targeting ELF
[ffmpeg] / libavcodec / audioconvert.h
index 157bd44e21c2540124a437460e26c75937013f39..46ba3d39296c1c609ef259d0cebfa8fbb4c75ea9 100644 (file)
@@ -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;