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

Vitor Sessak vitor1001
Sat Oct 17 02:40:51 CEST 2009


Diego Biurrun wrote:
> On Sat, Oct 17, 2009 at 02:14:45AM +0200, Vitor Sessak wrote:
>> Vitor Sessak wrote:
>>> $subj
>>>
>>> --- libavutil/internal.h	(revision 16968)
>>> +++ libavutil/internal.h	(working copy)
>>> @@ -228,11 +228,11 @@
>>> #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
>> ping?
> 
> Should be OK.

Now I saw you applied this one about 20 days after I posted it...

-Vitor



More information about the ffmpeg-devel mailing list