[FFmpeg-devel] [PATCH] Do not ask developers to use deprecated libs

Vitor Sessak vitor1001
Sat Oct 17 02:14:45 CEST 2009


Vitor Sessak wrote:
> $subj
> 
>  > Index: libavutil/internal.h
> ===================================================================
> --- libavutil/internal.h	(revision 16968)
> +++ libavutil/internal.h	(working copy)
> @@ -228,11 +228,11 @@
>  #undef  time
>  #define time time_is_forbidden_due_to_security_issues
>  #undef  rand
> -#define rand rand_is_forbidden_due_to_state_trashing_use_av_random
> +#define rand rand_is_forbidden_due_to_state_trashing_use_av_lfg_get
>  #undef  srand
> -#define srand srand_is_forbidden_due_to_state_trashing_use_av_random_init
> +#define srand srand_is_forbidden_due_to_state_trashing_use_av_lfg_init
>  #undef  random
> -#define random random_is_forbidden_due_to_state_trashing_use_av_random
> +#define random random_is_forbidden_due_to_state_trashing_use_av_lfg_get
>  #undef  sprintf
>  #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
>  #undef  strcat

ping?

-Vitor



More information about the ffmpeg-devel mailing list