[FFmpeg-devel] [PATCH] Update lix264.c for x264 API change (X264_BUILD 79)

Uoti Urpala uoti.urpala
Sat Nov 21 20:20:58 CET 2009


On Sat, 2009-11-21 at 11:16 -0800, Jason Garrett-Glaser wrote:
> 2009/11/21 M?ns Rullg?rd <mans at mansr.com>:
> >> +#if LIBAVCODEC_VERSION_MAJOR < 53
> >>      /**
> >> +     * explicit weighted prediction analysis method
> >> +     * - encoding: Set by user.
> >> +     * - decoding: unused
> >> +     */
> >> +    int weighted_p_pred;
> >> +#endif
> >
> > What's with the #if?  This breaks ABI.
> 
> Er, oops, that should have been a >= ... but now I realize that the
> #ifs are only for deprecated options, not for new ones.

There have been #if lines to enable features at the next version bump.





More information about the ffmpeg-devel mailing list