summaryrefslogtreecommitdiff
path: root/ffmpeg/libavutil/channel_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavutil/channel_layout.h')
-rw-r--r--ffmpeg/libavutil/channel_layout.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ffmpeg/libavutil/channel_layout.h b/ffmpeg/libavutil/channel_layout.h
index 2906098..ba4f96d 100644
--- a/ffmpeg/libavutil/channel_layout.h
+++ b/ffmpeg/libavutil/channel_layout.h
@@ -136,7 +136,12 @@ enum AVMatrixEncoding {
* - a channel layout mask, in hexadecimal starting with "0x" (see the
* AV_CH_* macros).
*
- * Example: "stereo+FC" = "2+FC" = "2c+1c" = "0x7"
+ * @warning Starting from the next major bump the trailing character
+ * 'c' to specify a number of channels will be required, while a
+ * channel layout mask could also be specified as a decimal number
+ * (if and only if not followed by "c").
+ *
+ * Example: "stereo+FC" = "2c+FC" = "2c+1c" = "0x7"
*/
uint64_t av_get_channel_layout(const char *name);