]> git.sesse.net Git - ffmpeg/commitdiff
flac: add channel layout masks for streams with 7 or 8 channels.
authorTim Walker <tdskywalker@gmail.com>
Tue, 22 Jan 2013 20:53:54 +0000 (21:53 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 6 Feb 2013 20:44:06 +0000 (21:44 +0100)
They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/flac.c
libavcodec/version.h

index 32b28d044376e4cf9e74357390739257185454f4..aa322b42f9090c017de273122108b5de23ac9087 100644 (file)
 
 static const int8_t sample_size_table[] = { 0, 8, 12, 0, 16, 20, 24, 0 };
 
-static const int64_t flac_channel_layouts[6] = {
+static const uint64_t flac_channel_layouts[8] = {
     AV_CH_LAYOUT_MONO,
     AV_CH_LAYOUT_STEREO,
     AV_CH_LAYOUT_SURROUND,
     AV_CH_LAYOUT_QUAD,
     AV_CH_LAYOUT_5POINT0,
-    AV_CH_LAYOUT_5POINT1
+    AV_CH_LAYOUT_5POINT1,
+    AV_CH_LAYOUT_6POINT1,
+    AV_CH_LAYOUT_7POINT1
 };
 
 static int64_t get_utf8(GetBitContext *gb)
index 80da6e21333acc2b5ec55c63837aa949b5cb1a14..7a024d38a13bf8bef9394f01bcb8c9ad4d79adc8 100644 (file)
@@ -28,7 +28,7 @@
 
 #define LIBAVCODEC_VERSION_MAJOR 54
 #define LIBAVCODEC_VERSION_MINOR 41
-#define LIBAVCODEC_VERSION_MICRO  0
+#define LIBAVCODEC_VERSION_MICRO  1
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \