[FFmpeg-devel] _t POSIX namespace issues

Diego Biurrun diego
Sat Dec 13 16:50:18 CET 2008


On Thu, Dec 11, 2008 at 09:31:43AM +0100, Diego Biurrun wrote:
> So names ending in _t are reserved by POSIX.  Nonetheless we have tons
> of them.  I thought about fixing these issues myself, but coming up with
> good new names is tedious, so I propose to have each maintainer address
> the problem in the files they maintain.  Here is a the result of a grep
> for problematic names with maintainers, in no particular order:

Oops, I missed another handful, more work for...

> Luca Barbato:
> libavcodec/ppc/imgresample_altivec.c:} vec_ss_t;
> libavcodec/ppc/imgresample_altivec.c:} vec_uc_t;

libavcodec/ppc/types_altivec.h:#define vec_u8_t  vector unsigned char
libavcodec/ppc/types_altivec.h:#define vec_s8_t  vector signed char
libavcodec/ppc/types_altivec.h:#define vec_u16_t vector unsigned short
libavcodec/ppc/types_altivec.h:#define vec_s16_t vector signed short
libavcodec/ppc/types_altivec.h:#define vec_u32_t vector unsigned int
libavcodec/ppc/types_altivec.h:#define vec_s32_t vector signed int

Diego




More information about the ffmpeg-devel mailing list