On Wed, Aug 6, 2014 at 2:31 PM, Diego Biurrun <[email protected]> wrote: > The Xvid IDCT is not MMX-specific. > --- > > This was an eyesore ... > > libavcodec/avcodec.h | 3 +++ > libavcodec/options_table.h | 5 ++++- > libavcodec/version.h | 3 +++ > libavcodec/x86/idct_sse2_xvid.c | 2 +- > libavcodec/xvididct.c | 4 ++-- > 5 files changed, 13 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 0cc8174..93aad35 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -2478,7 +2478,10 @@ typedef struct AVCodecContext { > #if FF_API_UNUSED_MEMBERS > #define FF_IDCT_IPP 13 > #endif /* FF_API_UNUSED_MEMBERS */ > +#define FF_IDCT_XVID 14 > +#if FF_API_IDCT_XVIDMMX > #define FF_IDCT_XVIDMMX 14 > +#endif /* FF_API_IDCT_XVIDMMX */ > #define FF_IDCT_SIMPLEARMV5TE 16 > #define FF_IDCT_SIMPLEARMV6 17 > #if FF_API_ARCH_SPARC
This is an api break/addition, needs doc/apichange. > diff --git a/libavcodec/version.h b/libavcodec/version.h > index e087da3..392555d 100644 > --- a/libavcodec/version.h > +++ b/libavcodec/version.h > @@ -132,6 +132,9 @@ > #ifndef FF_API_UNUSED_MEMBERS > #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 56) > #endif > +#ifndef FF_API_IDCT_XVIDMMX > +#define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 56) > +#endif > #ifndef FF_API_INPUT_PRESERVED > #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57) > #endif Need to bump minor too. -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
