summaryrefslogtreecommitdiff
path: root/libavcodec/aacenctab.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2017-11-09 12:51:54 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2017-11-09 12:58:42 +0000
commitfc9dcfe7d50d7f1b38fb287b4d92b5f3fc4bfb05 (patch)
tree8a4ff3c17719e2d1c205231420e98c6d7fd41026 /libavcodec/aacenctab.h
parent7b7775a604fb406e3c16c29796dda7366e1c4ca8 (diff)
aacenc: mark the preset 5.0/5.1 layouts correctly with back speakers
The spec is correct, it does list these layouts as having rear speakers. Questionable how many decoders correctly interpret those correctly since side is way more popular. Also fixes fate-aac-yoraw-encode. Reported-by: pkviet <pkv.stream@gmail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenctab.h')
-rw-r--r--libavcodec/aacenctab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacenctab.h b/libavcodec/aacenctab.h
index c852a29f53..64932d709f 100644
--- a/libavcodec/aacenctab.h
+++ b/libavcodec/aacenctab.h
@@ -49,8 +49,8 @@ static const int64_t aac_normal_chan_layouts[7] = {
AV_CH_LAYOUT_STEREO,
AV_CH_LAYOUT_SURROUND,
AV_CH_LAYOUT_4POINT0,
- AV_CH_LAYOUT_5POINT0,
- AV_CH_LAYOUT_5POINT1,
+ AV_CH_LAYOUT_5POINT0_BACK,
+ AV_CH_LAYOUT_5POINT1_BACK,
AV_CH_LAYOUT_7POINT1,
};