[FFmpeg-devel] [PATCH] avcodec thread safety fix

Diego Biurrun diego
Mon May 25 19:57:18 CEST 2009


On Mon, May 25, 2009 at 07:47:13PM +0200, Andreas ?man wrote:
> 
> A patch with this attached.
> --- libavcodec/utils.c	(revision 18941)
> +++ libavcodec/utils.c	(working copy)
> @@ -65,6 +65,7 @@
>  
>  static int volatile entangled_thread_counter=0;
> +static void (*codec_mutex_cb)(int lock);

Why the ugly forward declaration?

Diego



More information about the ffmpeg-devel mailing list