Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

This commit is contained in:
Carl Eugen Hoyos 2011-03-27 00:32:47 +01:00
parent 65daa942eb
commit 3efaa24f85

View File

@ -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 :