[FFmpeg-devel] [PATCH] Some lavf renames

Michael Niedermayer michaelni
Sun Feb 8 12:47:56 CET 2009

On Sun, Feb 08, 2009 at 09:31:34AM +0100, Stefano Sabatini wrote:
> On date Saturday 2009-02-07 01:10:16 +0100, Stefano Sabatini encoded:
> [...]
> > What about these ones?
> > 
> > av_codec_next             -> avcodec_next 
> [...]
> > av_register_input_format  -> avformat_register_input
> > av_register_output_format -> avformat_register_output
> > av_iformat_next           -> avformat_next_input
> > av_oformat_next           -> avformat_next_output
> Which of these are OK?

they already have a av_ prefix
the names are all worse after the rename and honestly this should be obvious,
i mean its a input format -> iformat not format_next_input ???!
and then i dont see any sense in av_ -> avformat_ to begin with especially
not when EVERY application needs to be changed to adapt to the new name.
And i hope you know some applications will try to suppport lav* of more than
one major version number, such renames are VERY painfull and consistency
to some system that has not even be discussed is NOT a reason to make such
I could even argue that av_ is bette than avformat_ avcodec_, because it is
shorter and allows us to move functions between libs which we did do.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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/20090208/fb8acfa1/attachment.pgp>

More information about the ffmpeg-devel mailing list