From eef7945a970e4da69b95c638a44a8ee1a9205430 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Wed, 6 May 2009 04:53:56 +0000 Subject: Move YUV->RGB in JPEG load from before scaler to after scaler. Required change to struct custom_format, so sorted the plugin API as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20856 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/recorder/bmp.c') diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 403c34d951..f1fc1f83b4 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -603,7 +603,7 @@ int read_bmp_fd(int fd, { if (resize_on_load(bm, dither, &src_dim, &rset, bitmap + totalsize, maxsize - totalsize, - cformat, store_part_bmp, &ba)) + cformat, IF_PIX_FMT(0,) store_part_bmp, &ba)) return totalsize; else return 0; -- cgit v1.2.3