From: Jean-Baptiste Kempf Date: Wed, 17 Jun 2009 14:48:09 +0000 (+0200) Subject: Fix playback of TrueSpeech in some .Avi X-Git-Tag: 1.1.0-ff~5391 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4b78817f76d3a91e47bab844d7e22f7f355d4f97;p=vlc Fix playback of TrueSpeech in some .Avi Try TI_1_Einfuehrung.avi to trigger the bug. --- diff --git a/include/vlc_codecs.h b/include/vlc_codecs.h index 4236295469..7dee806ae5 100644 --- a/include/vlc_codecs.h +++ b/include/vlc_codecs.h @@ -209,6 +209,7 @@ ATTR_PACKED #define WAVE_FORMAT_DTS_MS 0x0008 /* Microsoft Corporation */ #define WAVE_FORMAT_WMAS 0x000a /* WMA 9 Speech */ #define WAVE_FORMAT_IMA_ADPCM 0x0011 /* Intel Corporation */ +#define WAVE_FORMAT_TRUESPEECH 0x0022 /* TrueSpeech */ #define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */ #define WAVE_FORMAT_MSNAUDIO 0x0032 /* Microsoft Corporation */ #define WAVE_FORMAT_G726 0x0045 /* ITU-T standard */ @@ -306,6 +307,7 @@ wave_format_tag_to_fourcc[] = { WAVE_FORMAT_ALAW, VLC_CODEC_ALAW, "A-Law" }, { WAVE_FORMAT_MULAW, VLC_CODEC_MULAW, "Mu-Law" }, { WAVE_FORMAT_IMA_ADPCM, VLC_FOURCC( 'm', 's', 0x00,0x11), "Ima-ADPCM" }, + { WAVE_FORMAT_TRUESPEECH, VLC_FOURCC(0x22, 0x0, 0x0, 0x0 ), "Truespeech" }, { WAVE_FORMAT_GSM610, VLC_CODEC_GSM_MS, "Microsoft WAV GSM" }, { WAVE_FORMAT_G726, VLC_CODEC_ADPCM_G726, "G.726 ADPCM" }, { WAVE_FORMAT_MPEGLAYER3, VLC_CODEC_MPGA, "Mpeg Audio" },