[vlc-devel] [PATCH] Subsync: added an easier way to sync subtitles

David Fuhrmann david.fuhrmann at gmail.com
Tue Apr 9 09:27:34 CEST 2013

Am 09.04.2013 um 08:00 schrieb Rémi Denis-Courmont <remi at remlab.net>:

> On Mon,  8 Apr 2013 23:37:38 +0200, Pascal Thomet <pthomet at gmail.com>
> wrote:
>> - As per the remark of Rémi Denis-Courmont, there is still a static
>> variable, but it is composed
>>  of vlc_atomics.
>> 	Rémi, could you please check I did not abuse them? I'm not quite sure I
>> 	used them the preferred way.
> This is still wrong.

I think that you do not need atomics.
Just avoid static variables at all and put your variables in the intf_sys_t struct at the beginning of the file. Then you can access them via p_sys->...

Best regards,

More information about the vlc-devel mailing list