947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
|
break;
case 12 ... 15:
for(k=0;k<64;k++) {
dp->filters[i].shift.shift[k]=(j=fgetc(fp))&127;
dp->filters[i].shift.size[k]=fgetc(fp);
if(j&128) break;
}
dp->filters[i].shift.nshift=k;
break;
}
}
fclose(fp);
}
static void save_dependent_picture(FILE*fp,DependentPicture*dp) {
|
|
|
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
|
break;
case 12 ... 15:
for(k=0;k<64;k++) {
dp->filters[i].shift.shift[k]=(j=fgetc(fp))&127;
dp->filters[i].shift.size[k]=fgetc(fp);
if(j&128) break;
}
dp->filters[i].shift.nshift=k+1;
break;
}
}
fclose(fp);
}
static void save_dependent_picture(FILE*fp,DependentPicture*dp) {
|