Adds libavcodec version check for musepack7 fourcc
authorRafaël Carré <funman@videolan.org>
Mon, 20 Aug 2007 23:43:15 +0000 (23:43 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 20 Aug 2007 23:43:15 +0000 (23:43 +0000)
modules/codec/ffmpeg/ffmpeg.c

index 8f714a2..187400a 100644 (file)
@@ -1265,9 +1265,11 @@ static struct
     { VLC_FOURCC('M','A','C','6'), CODEC_ID_MACE6,
       AUDIO_ES, "MACE-6 Audio" },
 
+#if LIBAVCODEC_VERSION_INT >= ((51<<16)+(41<<8)+1)
     /* MUSEPACK7 Audio */
     { VLC_FOURCC('M','P','C',' '), CODEC_ID_MUSEPACK7,
       AUDIO_ES, "MUSEPACK7 Audio" },
+#endif
 
     /* RealAudio 1.0 */
     { VLC_FOURCC('1','4','_','4'), CODEC_ID_RA_144,