]> git.sesse.net Git - ffmpeg/commitdiff
Remove libmpeg2 #define remnants
authorDiego Biurrun <diego@biurrun.de>
Thu, 11 Oct 2012 14:35:48 +0000 (16:35 +0200)
committerDiego Biurrun <diego@biurrun.de>
Fri, 12 Oct 2012 18:56:54 +0000 (20:56 +0200)
libavcodec/avcodec.h
libavcodec/version.h

index 223db9ca750a16d2a92a83d9858801c5c8065a31..32a7dcb3ed1541c1943c5bf5df77ea377df301f9 100644 (file)
@@ -2620,7 +2620,9 @@ typedef struct AVCodecContext {
 #define FF_IDCT_INT           1
 #define FF_IDCT_SIMPLE        2
 #define FF_IDCT_SIMPLEMMX     3
+#if FF_API_LIBMPEG2
 #define FF_IDCT_LIBMPEG2MMX   4
+#endif
 #define FF_IDCT_MMI           5
 #define FF_IDCT_ARM           7
 #define FF_IDCT_ALTIVEC       8
index 5b2d7b99f795244d7099bb2d42a9aabeb6c7cb51..b97439c91c2408267366aa50e19a7a38bc28849f 100644 (file)
@@ -85,5 +85,8 @@
 #ifndef FF_API_AVCODEC_RESAMPLE
 #define FF_API_AVCODEC_RESAMPLE  (LIBAVCODEC_VERSION_MAJOR < 55)
 #endif
+#ifndef FF_API_LIBMPEG2
+#define FF_API_LIBMPEG2          (LIBAVCODEC_VERSION_MAJOR < 55)
+#endif
 
 #endif /* AVCODEC_VERSION_H */