[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec utils.c,1.145,1.146

Christophe Massiot cmassiot
Mon Aug 1 15:59:43 CEST 2005


On Mon, Jul 25, 2005, Michael Niedermayer CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv16486
> Modified Files:
> 	utils.c 
> Log Message:
> thread mess check for avcodec_open/close()

What's the purpose of this ? Aren't avcodec_open/close() already
thread-safe ? I understand there must be locking around avcodec_init(),
but I fail to see why avcodec_open, which operates on *context, would
need locking.

Christophe Massiot                  Freebox S.A.

More information about the ffmpeg-cvslog mailing list