606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
|
sz-=2;
}
break;
default:
fprintf(stderr,"Unrecognized command in dependent picture (%d)\n",c);
goto done;
}
if(sz<0) fprintf(stderr,"Lump size of dependent picture is too short\n");
done: sqlite3_finalize(st);
}
void load_pictures(void) {
sqlite3_stmt*st=0;
FILE*fp;
Uint8 wantsize[32];
|
|
|
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
|
sz-=2;
}
break;
default:
fprintf(stderr,"Unrecognized command in dependent picture (%d)\n",c);
goto done;
}
if(sz<-1) fprintf(stderr,"Lump size of dependent picture is too short\n");
done: sqlite3_finalize(st);
}
void load_pictures(void) {
sqlite3_stmt*st=0;
FILE*fp;
Uint8 wantsize[32];
|