[FFmpeg-devel] [PATCH] Clean up lib* version definitions

Michael Niedermayer michaelni
Sun Feb 17 20:35:43 CET 2008


On Sun, Feb 17, 2008 at 06:14:31PM +0000, Mans Rullgard wrote:
> Updating version numbers now requires changing only one place.
> ---
>  configure                 |    2 +-
>  libavcodec/avcodec.h      |    6 ++++--
>  libavdevice/avdevice.h    |    6 ++++--
>  libavformat/avformat.h    |    6 ++++--
>  libavutil/avutil.h        |   12 ++++++++++--
>  libpostproc/postprocess.h |    6 ++++--

>  6 files changed, 27 insertions(+), 11 deletions(-)

Hmm, this more than doubles the number of lines of code, and requires
the reader to understand/guess the meaning for an additional layer of
macros.
Do you really think this is a good idea?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080217/21ca65df/attachment.pgp>



More information about the ffmpeg-devel mailing list