[FFmpeg-cvslog] Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

Carl Eugen Hoyos git at videolan.org
Wed Mar 30 12:37:11 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Mar 27 00:32:47 2011 +0100| [3efaa24f85d74e0cad6e730dd047412a1930e9cf] | committer: Carl Eugen Hoyos

Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

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

 libavdevice/alsa-audio-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
index 4edd25b..8e3535e 100644
--- a/libavdevice/alsa-audio-common.c
+++ b/libavdevice/alsa-audio-common.c
@@ -88,7 +88,7 @@ static av_cold ff_reorder_func find_reorder_func(int codec_id,
     return
     codec_id == CODEC_ID_PCM_S16LE || codec_id == CODEC_ID_PCM_S16BE ?
         layout == AV_CH_LAYOUT_QUAD ? REORDER_DUMMY :
-        layout == AV_CH_LAYOUT_5POINT1_BACK ?
+        layout == AV_CH_LAYOUT_5POINT1_BACK || layout == AV_CH_LAYOUT_5POINT1 ?
             out ? alsa_reorder_s16_out_51 : NULL :
         layout == AV_CH_LAYOUT_7POINT1 ?
             out ? alsa_reorder_s16_out_71 : NULL :



More information about the ffmpeg-cvslog mailing list