ffmpeg | branch: master | Rostislav Pehlivanov <atomnu...@gmail.com> | Thu Nov  
9 12:51:54 2017 +0000| [fc9dcfe7d50d7f1b38fb287b4d92b5f3fc4bfb05] | committer: 
Rostislav Pehlivanov

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.str...@gmail.com>
Signed-off-by: Rostislav Pehlivanov <atomnu...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc9dcfe7d50d7f1b38fb287b4d92b5f3fc4bfb05
---

 libavcodec/aacenctab.h | 4 ++--
 1 file 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,
 };
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to