This commit is contained in:
wangyu- 2017-09-14 12:02:48 -05:00
parent 27135e55cf
commit b9b14f90f5

View File

@ -35,7 +35,7 @@ int rs_decode(void *code,char *data[],int size)
return -1;
for(int i=0;i<n;i++)
{
if(k<count)
if(i<count)
data[i]=data[index[i]];
else
data[i]=0;