X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fflac.c;h=a79a80964df0a6c5185b6a1a2f1112ca1355bc50;hb=7f23b2a9d0da328e6939de87a0ef509842b3a907;hp=f767f6b367cd3db5557432a31204d0e891cb88a8;hpb=c62cb1112ffc32492c99aa1e94324fc6a951abe9;p=ffmpeg diff --git a/libavcodec/flac.c b/libavcodec/flac.c index f767f6b367c..a79a80964df 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -29,13 +29,15 @@ 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)