[vlc-devel] [PATCH] codec: jpeg encoder implemented
remi at remlab.net
Fri Jan 24 17:20:01 CET 2014
Le vendredi 24 janvier 2014, 20:07:39 Maxim Bublis a écrit :
> > So, both are the same?
> Yup, do you have any ideas how to improve that?
> My initial attempt was to create struct jpeg_sys_t and then just write
> something like:
> typedef struct jpeg_sys_t encoder_sys_t;
> typedef struct jpeg_sys_t decoder_sys_t;
> but it leads to typedef redefinition with different types for
Yes, that is an unfortunate consequence of the VLC typedef hacks. But you can
cast the pointer anyway, like the FTP plugin does.
More information about the vlc-devel