[vlc-devel] [RFC PATCH 3/3] decoder: protect vout and aout during read
remi at remlab.net
Wed Apr 1 17:53:03 CEST 2015
Le mercredi 01 avril 2015, 17:39:29 Thomas Guillem a écrit :
> I don't get it, the pointer can be set to NULL by an other thread
> between the check of non-NULL and the actual usage of the vout/aout.
I have no clue what you mean by that.
The point is, if you only protect the pointer, then you can use the pointer
value, but you can not dereference it. Since those pointers are not part of a
table, the meaningful operation that I can then think of, is comparison with
More information about the vlc-devel