[vlc-devel] modules/codec/avcodec/avutil.h

Rémi Denis-Courmont remi at remlab.net
Wed Jan 4 13:26:24 CET 2012


On Wed, 4 Jan 2012 18:35:27 +0700, Sergey Radionov <rsatom at gmail.com>
wrote:
> 2012/1/4 Rémi Denis-Courmont <remi at remlab.net>:
>> On Wed, 4 Jan 2012 18:14:42 +0700, Sergey Radionov <rsatom at gmail.com>
>> wrote:
>>>> IIRC, the opaque pointer was not set at all the cases outlined by the
>>>> commit log.
>>> Then why you just don't check !=NULL ?
>>
>> That would obviously not be thread-safe.
> do you assume "opaque" can be changed in any time in any thread? not
> only at libav initialization?

I don't assume anything.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list