aboutsummaryrefslogtreecommitdiffstats
path: root/src/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jpeg.c')
-rw-r--r--src/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index 797bdb4..5745541 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -53,8 +53,8 @@ static struct image *jpeg_open(FILE *f){
jpeg_calc_output_dimensions(&j->cinfo);
- j->img.width = j->cinfo.output_width;
- j->img.height = j->cinfo.output_height;
+ j->img.bufwidth = j->cinfo.output_width;
+ j->img.bufheight = j->cinfo.output_height;
return (struct image *)j;
}