[FFmpeg-devel] [libav-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil

Stefano Sabatini stefano.sabatini-lala at poste.it
Mon Apr 25 01:46:48 CEST 2011


On date Sunday 2011-04-24 18:43:41 +0200, Stefano Sabatini encoded:
> On date Saturday 2011-04-23 17:28:30 +0200, Stefano Sabatini encoded:
> > On date Saturday 2011-04-23 13:54:52 +0200, Nicolas George encoded:
> > > Le quartidi 4 floréal, an CCXIX, Stefano Sabatini a écrit :
> > > > This breaks ABI as it redefines the previous values (since the first
> > > > symbol will have a value of 0 rather than 1, consistent with enum
> > > > definitions and allows the AV_*_NB trick).
> > > 
> > > Couldn't you add some sort of AV_PICTURE_TYPE_UNSPEC =0 to preserve the
> > > values?
> > 
> > Rethinking about it, I dropped the redefinition (which were causing
> > regressions, since the literal pict_type values are used in MPEG
> > video) and the *_NB trick.
> > 
> > No ABI breaks anymore.
> 
> Patch updated with removal guards added.

...and with APIchanges entry (already approved on the FFmpeg side,
waiting on the Libav side, as for me I'd prefer to have it applied in
both).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-deprecate-FF_-_TYPE-macros-in-favor-of-AV_PICTU.patch
Type: text/x-diff
Size: 7767 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110425/3de90c83/attachment.bin>


More information about the ffmpeg-devel mailing list