]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/audioconvert.h
Cosmetics: Pretty print the AAC encoder.
[ffmpeg] / libavcodec / audioconvert.h
index 4b767101a45ebe0e7f5e4b4d15fc829fcc80427c..46ba3d39296c1c609ef259d0cebfa8fbb4c75ea9 100644 (file)
@@ -24,7 +24,7 @@
 #define AVCODEC_AUDIOCONVERT_H
 
 /**
- * @file audioconvert.h
+ * @file libavcodec/audioconvert.h
  * Audio format conversion routines
  */
 
@@ -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;