On 2012-01-18 12:46:28 +0000, Måns Rullgård wrote:
> "Ronald S. Bultje" <rsbul...@gmail.com> writes:
> 
> > Hi,
> >
> > On Wed, Jan 18, 2012 at 2:46 AM, Janne Grunau <janne-li...@jannau.net> 
> > wrote:
> >> Users of libavcodec could break if they do not threadsafe callbacks.
> >> Avconv and avplay still use -threads auto if not specified.
> >
> > What callbacks?
> 
> get_buffer() and friends I presume, since there are no others.

get/release_buffer are safe since we call them only from the calling
thread when thread_safe_callbacks is not set.

Uoti was worrying about draw_horiz_band. A custom av_log cb might be
problematic too although would suspect that it'll just cause message
corruption.

Janne
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to