gonna fuck shit up

This commit is contained in:
Joseph Redmon
2015-04-21 12:58:03 -07:00
parent 451ef0a0a6
commit feabcc31de
3 changed files with 3 additions and 1 deletions

View File

@ -605,6 +605,7 @@ image load_image_color(char *filename, int w, int h)
image out = ipl_to_image(src);
cvReleaseImage(&src);
if((h && w) && (h != out.h || w != out.w)){
//printf("resize\n");
image resized = resize_image(out, w, h);
free_image(out);
out = resized;