[FFmpeg-devel] [PATCH 05/11] Make the ff_lockmgr_cb function pointer static to utils.c

Måns Rullgård mans
Tue Jan 25 00:45:54 CET 2011


Diego Elio Petten? <flameeyes at gmail.com> writes:

> ---
>  libavcodec/utils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> index 02b9fd6..53a0674 100644
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -45,7 +45,7 @@
>  #include <float.h>
>
>  static int volatile entangled_thread_counter=0;
> -int (*ff_lockmgr_cb)(void **mutex, enum AVLockOp op);
> +static int (*ff_lockmgr_cb)(void **mutex, enum AVLockOp op);
>  static void *codec_mutex;
>
>  void *av_fast_realloc(void *ptr, unsigned int *size, FF_INTERNALC_MEM_TYPE min_size)
> -- 
> 1.7.4.rc2

OK

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list