[FFmpeg-devel] [libav-devel] [PATCH 5/6] Postpone API-incompatible changes until the next bump

Michael Niedermayer michael at niedermayer.cc
Sun Aug 16 22:37:39 CEST 2015


On Sun, Aug 16, 2015 at 03:55:55PM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Aug 16, 2015 at 3:41 PM, Michael Niedermayer <michael at niedermayer.cc
> > wrote:
> 
> > On Sun, Aug 16, 2015 at 01:27:03PM -0400, Ronald S. Bultje wrote:
> > > Hi,
> > >
> > > On Sat, Aug 8, 2015 at 7:37 AM, Andreas Cadhalpun <
[...]

> What is av_get_double() and av_get_int() and why would we want to keep
> them? If the answer is no, let's prepare a patch to put them under macros
> and mark them as deprecated before doing anything else.

These functions return the read value
their replacements return an error code and pass the read value
through a pointer in an argument

The agument to keep them is that returning the read value is more
convenient if you know the call cannot fail

The argument to deprecate and remove them is that the API becomes
less redundant

I have no preferrance which way this is resolved

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150816/3991a9bb/attachment.sig>


More information about the ffmpeg-devel mailing list