Commit 003ebe10 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent eabb0ac3
......@@ -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