[FFmpeg-devel] _t POSIX namespace issues
Diego Biurrun
diego
Sat Dec 13 18:30:11 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:
>
> unmaintained:
> libavcodec/libxvidff.c:static int xvid_ff_2pass_create(xvid_plg_create_t * param,
> libavcodec/libxvidff.c:} xvid_context_t;
> libavcodec/libxvidff.c: xvid_enc_create_t xvid_enc_create;
> libavcodec/libxvidff.c: xvid_enc_frame_t xvid_enc_frame;
> libavcodec/libxvidff.c: xvid_enc_plugin_t plugins[7];
> libavcodec/libxvidff.c: xvid_enc_stats_t xvid_enc_stats;
> libavcodec/libxvidff.c: xvid_gbl_init_t xvid_gbl_init;
> libavcodec/libxvidff.c: xvid_plg_data_t *param) {
> libavcodec/libxvidff.c: xvid_plg_destroy_t *param) {
> libavcodec/libxvidff.c: xvid_plugin_single_t single;
> libavdevice/x11grab.c:} x11_grab_t;
Patch attached.
Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: posix.diff
Type: text/x-diff
Size: 6789 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081213/941aafc3/attachment.diff>
More information about the ffmpeg-devel
mailing list