[FFmpeg-devel] [libav-devel] [RFC][PATCH] Move picture type definitions from libavcodec to libavutil
Stefano Sabatini
stefano.sabatini-lala at poste.it
Sun Apr 24 18:43:41 CEST 2011
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.
--
FFmpeg = Freak & Forgiving Most Ponderous Esoteric Guru
-------------- 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: 6590 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110424/3bc17822/attachment.bin>
More information about the ffmpeg-devel
mailing list