]> git.sesse.net Git - vlc/commitdiff
Let ffmpeg handle APE codec (Monkey's Audio) as it seems to "work" with the
authorLaurent Aimar <fenrir@videolan.org>
Sat, 20 Oct 2007 16:13:01 +0000 (16:13 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 20 Oct 2007 16:13:01 +0000 (16:13 +0000)
ffmpeg demuxer (I am not sure seeking works alright).

modules/codec/ffmpeg/ffmpeg.c

index 2489d4096aa1df4e65bcca06417f7de29a3f2e85..21b76c8be5238fd89d2244965d253af7e298d887 100644 (file)
@@ -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" },