[FFmpeg-devel] [PATCH] Add "unofficial" command line option

Stefano Sabatini stefano.sabatini-lala
Wed Jun 16 00:06:10 CEST 2010


On date Wednesday 2010-06-16 01:42:46 +0930, Rodney Baker encoded:
> This adds the "unofficial" command line option and leaves the current 
> "inofficial" with a change to the description to note that it is to be 
> deprecated. 
> 
> There may be a cleaner way to do this - I am a rank beginner at this so I 
> don't know if this is the right way handle this or not. I'm happy for someone 
> to propose a better solution...

We use the
#if LIBAVSTUFF_VERSION_MAJOR < NEXT
...
#endif

construct when we want to deprecate something, this way we're sure
that old stuff won't be kept around when we'll break compatibility
(which happens *only* at major version bumps).

[...]

Regards.
-- 
FFmpeg = Fundamental & Frenzy Monstrous Perennial EntanGlement



More information about the ffmpeg-devel mailing list