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

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Apr 23 17:28:30 CEST 2011


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.
-- 
FFmpeg = Free and Fascinating Most Philosophical Ecumenical Glue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavu-deprecate-FF_-_TYPE-macros-in-favor-of-AV_PICTU.patch
Type: text/x-diff
Size: 5819 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110423/78ae7b5a/attachment.bin>


More information about the ffmpeg-devel mailing list