[FFmpeg-devel] Implement swscale_version()

Robert Swain robert.swain
Fri Aug 29 23:34:55 CEST 2008


2008/8/29 Michael Niedermayer <michaelni at gmx.at>:
> On Fri, Aug 29, 2008 at 09:56:41PM +0100, Robert Swain wrote:
>> 2008/8/29 Stefano Sabatini <stefano.sabatini-lala at poste.it>:
>> > On date Friday 2008-08-29 20:04:28 +0200, Diego Biurrun encoded:
>> >> On Fri, Aug 29, 2008 at 07:59:50PM +0200, Stefano Sabatini wrote:
>> >> >
>> >> > Cannot apply to the MPlayer repository.
>> >>
>> >> Now you can.
>> >
>> > All applied, thanks.
>>
>> I realise I'm late to the show, but what's the point in this? Why
>> can't someone just use LIBSWSCALE_VERSION_INT directly in their code
>> rather than calling this function?
>
> Because that would provide the version of the header not the actual
> code

It's not OK to assume they're identical? Or is the purpose of this to
check that?

Rob




More information about the ffmpeg-devel mailing list