[FFmpeg-devel] _t POSIX namespace issues

Diego Biurrun diego
Thu Dec 11 22:05:51 CET 2008


On Thu, Dec 11, 2008 at 09:35:30PM +0100, Aurelien Jacobs wrote:
> Diego Biurrun wrote:
> > 
> > Like this then?
> > 
> > [...]
> > 
> > --- libpostproc/postprocess.h	(revision 16056)
> > +++ libpostproc/postprocess.h	(working copy)
> > @@ -54,8 +54,8 @@
> >  
> > -typedef void pp_context_t;
> > -typedef void pp_mode_t;
> > +typedef void pp_context;
> > +typedef void pp_mode;
> 
> This breaks public API !
> You must at least provide a compatibility typedef such as:
> 
> #if LIBPOSTPROC_VERSION_INT < (52<<16)
> typedef pp_context pp_context_t;
> typedef pp_mode pp_mode_t;
> #endif

Thanks for noticing, done.

Diego




More information about the ffmpeg-devel mailing list