diff --git a/modules/codec/adpcm.c b/modules/codec/adpcm.c index 0e1051de716a7443542c478cb75bc2df21147273..6296620702e1bd0cb199e998bca2423925a80895 100644 --- a/modules/codec/adpcm.c +++ b/modules/codec/adpcm.c @@ -140,11 +140,11 @@ static int OpenDecoder( vlc_object_t *p_this ) switch( p_dec->fmt_in.i_codec ) { - case VLC_FOURCC('i','m','a', '4'): /* IMA ADPCM */ - case VLC_FOURCC('m','s',0x00,0x02): /* MS ADPCM */ - case VLC_FOURCC('m','s',0x00,0x11): /* IMA ADPCM */ - case VLC_CODEC_ADPCM_DK3: + case VLC_CODEC_ADPCM_IMA_QT: + case VLC_CODEC_ADPCM_IMA_WAV: + case VLC_CODEC_ADPCM_MS: case VLC_CODEC_ADPCM_DK4: + case VLC_CODEC_ADPCM_DK3: case VLC_CODEC_ADPCM_XA_EA: break; default: @@ -169,7 +169,7 @@ static int OpenDecoder( vlc_object_t *p_this ) uint8_t i_max_channels = 5; switch( p_dec->fmt_in.i_codec ) { - case VLC_FOURCC('i','m','a', '4'): /* IMA ADPCM */ + case VLC_CODEC_ADPCM_IMA_QT: /* IMA ADPCM */ p_sys->codec = ADPCM_IMA_QT; i_max_channels = 2; break;