[FFmpeg-cvslog] avcodec/old_codec_ids: fix missing FF_API_XVMC check
Vallimar
git at videolan.org
Mon Nov 18 01:32:39 CET 2013
ffmpeg | branch: master | Vallimar <vallimar at gmail.com> | Mon Nov 18 01:21:28 2013 +0100| [6f8a27dd3ba3f30d921195c60b0e1b5c51a11cb3] | committer: Michael Niedermayer
avcodec/old_codec_ids: fix missing FF_API_XVMC check
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f8a27dd3ba3f30d921195c60b0e1b5c51a11cb3
---
libavcodec/old_codec_ids.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/old_codec_ids.h b/libavcodec/old_codec_ids.h
index d8a8f74..b956264 100644
--- a/libavcodec/old_codec_ids.h
+++ b/libavcodec/old_codec_ids.h
@@ -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,
More information about the ffmpeg-cvslog
mailing list