From: Laurent Aimar Date: Sat, 20 Oct 2007 16:13:01 +0000 (+0000) Subject: Let ffmpeg handle APE codec (Monkey's Audio) as it seems to "work" with the X-Git-Tag: 0.9.0-test0~4921 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bed5264a7edca55ccb6be99432a998d1e55aeaec;p=vlc Let ffmpeg handle APE codec (Monkey's Audio) as it seems to "work" with the ffmpeg demuxer (I am not sure seeking works alright). --- diff --git a/modules/codec/ffmpeg/ffmpeg.c b/modules/codec/ffmpeg/ffmpeg.c index 2489d4096a..21b76c8be5 100644 --- a/modules/codec/ffmpeg/ffmpeg.c +++ b/modules/codec/ffmpeg/ffmpeg.c @@ -1436,7 +1436,10 @@ static struct { VLC_FOURCC('N','E','L','L'), CODEC_ID_NELLYMOSER, AUDIO_ES, "NellyMoser ASAO" }, #endif - +#if LIBAVCODEC_VERSION_INT >= ((51<<16)+(44<<8)+0) + { VLC_FOURCC('A','P','E',' '), CODEC_ID_APE, + AUDIO_ES, "Monkey's Audio" }, +#endif /* PCM */ { VLC_FOURCC('s','8',' ',' '), CODEC_ID_PCM_S8, AUDIO_ES, "PCM S8" },