OSDN Git Service

Add forgotten line to silence a warning for int32.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 13 Apr 2011 23:14:19 +0000 (01:14 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 14 Apr 2011 01:33:10 +0000 (03:33 +0200)
AV_CH_LAYOUT_QUAD is the only (multi-) channel layout that has the
same channel ordering for FFmpeg and alsa.

libavdevice/alsa-audio-common.c

index a6f3899..0e5b997 100644 (file)
@@ -141,6 +141,7 @@ static av_cold ff_reorder_func find_reorder_func(int codec_id,
             NULL :
     codec_id == CODEC_ID_PCM_U32LE || codec_id == CODEC_ID_PCM_U32BE ||
     codec_id == CODEC_ID_PCM_S32LE || codec_id == CODEC_ID_PCM_S32BE ?
+        layout == AV_CH_LAYOUT_QUAD ? REORDER_DUMMY :
         layout == AV_CH_LAYOUT_5POINT0_BACK || layout == AV_CH_LAYOUT_5POINT0 ?
             out ? alsa_reorder_int32_out_50 : NULL :
         layout == AV_CH_LAYOUT_5POINT1_BACK || layout == AV_CH_LAYOUT_5POINT1 ?