comparison rangecoder.c @ 2522:e25782262d7d libavcodec

kill warnings patch by (M?ns Rullg?rd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents 25448d0bc924
children 95bac7109ff0
comparison
equal deleted inserted replaced
2521:d3885f927bc7 2522:e25782262d7d
56 } 56 }
57 57
58 void ff_build_rac_states(RangeCoder *c, int factor, int max_p){ 58 void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
59 const int64_t one= 1LL<<32; 59 const int64_t one= 1LL<<32;
60 int64_t p; 60 int64_t p;
61 int last_p8, p8, i, j; 61 int last_p8, p8, i;
62 62
63 memset(c->zero_state, 0, sizeof(c->zero_state)); 63 memset(c->zero_state, 0, sizeof(c->zero_state));
64 memset(c-> one_state, 0, sizeof(c-> one_state)); 64 memset(c-> one_state, 0, sizeof(c-> one_state));
65 65
66 #if 0 66 #if 0