Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-03-27 03:32:47 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-03-30 14:36:52 +0400
commit3efaa24f85d74e0cad6e730dd047412a1930e9cf (patch)
tree5dfa34f965f4fcdd4b43a94d2e80cdca20f1e569 /libavdevice/alsa-audio-common.c
parent65daa942eb51c348e205ae3a54f77b8781907a81 (diff)
Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.
Diffstat (limited to 'libavdevice/alsa-audio-common.c')
-rw-r--r--libavdevice/alsa-audio-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/alsa-audio-common.c b/libavdevice/alsa-audio-common.c
index 4edd25bcd7..8e3535e21e 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 :