avcodec/old_codec_ids: fix missing FF_API_XVMC check
authorVallimar <vallimar@gmail.com>
Mon, 18 Nov 2013 00:21:28 +0000 (01:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Nov 2013 00:22:30 +0000 (01:22 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/old_codec_ids.h

index d8a8f74..b956264 100644 (file)
@@ -34,7 +34,9 @@
     /* video codecs */
     CODEC_ID_MPEG1VIDEO,
     CODEC_ID_MPEG2VIDEO, ///< preferred ID for MPEG-1/2 video decoding
+#if FF_API_XVMC
     CODEC_ID_MPEG2VIDEO_XVMC,
+#endif
     CODEC_ID_H261,
     CODEC_ID_H263,
     CODEC_ID_RV10,