[MPlayer-dev-eng] [PATCH] Remove #if LIBAV*_BUILD >= XXXX everywhere

Rich Felker dalias at aerifal.cx
Wed Jul 12 18:33:07 CEST 2006


On Wed, Jul 12, 2006 at 04:52:02PM +0200, Luca Barbato wrote:
> Diego Biurrun wrote:
> > It's a jungle out there!
> > 
> > All the code that interfaces with FFmpeg is littered with
> > 
> > #if LIBAVFORMAT_BUILD >= 4624
> > 
> > and similar statements.  While this may have made sense in the past when
> > lavc/lavf was not checked out as external, it just clutters the sources
> > now IMO.
> > 
> 
> Just add a check in the configure for the shared libav* version if we
> want to play safe.

Yes, just reject old shared libavcodec and then fall back to
internal..

Rich




More information about the MPlayer-dev-eng mailing list