Revision b65c1ccf libavutil/random_seed.c

View differences:

libavutil/random_seed.c
43 43
    int last_t=0;
44 44
    int bits=0;
45 45
    uint64_t random=0;
46
    int i;
46
    unsigned i;
47 47
    int s=0;
48 48

  
49 49
    for(i=0;bits<64;i++){
50 50
        int t= clock()>>s;
51 51
        if(last_t && t != last_t){
52
            if(i<10000U && s<24){
52
            if(i<10000 && s<24){
53 53
                s++;
54 54
                i=t=0;
55 55
            }else{

Also available in: Unified diff