mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-25 22:19:17 +00:00
fixing out of array access (only cosmetic, this should never have had a end user vissible effect)
Originally committed as revision 5139 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
eabb0ac38e
commit
003ebe100b
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
|
||||||
c->one_state[ i]= p8;
|
c->one_state[ i]= p8;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(i=0; i<256; i++)
|
for(i=1; i<255; i++)
|
||||||
c->zero_state[i]= 256-c->one_state[256-i];
|
c->zero_state[i]= 256-c->one_state[256-i];
|
||||||
#if 0
|
#if 0
|
||||||
for(i=0; i<256; i++)
|
for(i=0; i<256; i++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue