diff options
Diffstat (limited to 'src/jpeg.c')
-rw-r--r-- | src/jpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,6 +51,9 @@ static struct image *jpeg_open(FILE *f){ } j->jerr.pub.error_exit = error_exit; + + j->img.fmt = &libjpeg; + return (struct image *)j; } |