Commit 800d87f7 authored by michael's avatar michael

fixing out of array access (only cosmetic, this should never have had a end user vissible effect)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5139 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 75b63a9c
......@@ -110,7 +110,7 @@ void ff_build_rac_states(RangeCoder *c, int factor, int max_p){
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];
#if 0
for(i=0; i<256; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment