diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-06 04:53:56 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-05-06 04:53:56 +0000 |
commit | eef7945a970e4da69b95c638a44a8ee1a9205430 (patch) | |
tree | ec015938370aaa6e84d3652f914c1766a963582d /apps/recorder/bmp.c | |
parent | f779160de53686e45f57fad882a6d8f8db6360fd (diff) | |
download | rockbox-eef7945a970e4da69b95c638a44a8ee1a9205430.tar.gz rockbox-eef7945a970e4da69b95c638a44a8ee1a9205430.zip |
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
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
603 | { | 603 | { |
604 | if (resize_on_load(bm, dither, &src_dim, &rset, | 604 | if (resize_on_load(bm, dither, &src_dim, &rset, |
605 | bitmap + totalsize, maxsize - totalsize, | 605 | bitmap + totalsize, maxsize - totalsize, |
606 | cformat, store_part_bmp, &ba)) | 606 | cformat, IF_PIX_FMT(0,) store_part_bmp, &ba)) |
607 | return totalsize; | 607 | return totalsize; |
608 | else | 608 | else |
609 | return 0; | 609 | return 0; |