From 64da45a9d34a76d60e21f0d60fcb1720bc7f2987 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 11 Dec 2015 16:40:23 -0800 Subject: [PATCH] cosmetics, cwebp: fix indent Change-Id: Iaab63050193d43ccd7e10bb5bdfff20ec3361ce0 --- examples/cwebp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/cwebp.c b/examples/cwebp.c index c7d0b713..bbdf64c0 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -150,13 +150,13 @@ static int ReadPicture(const char* const filename, WebPPicture* const pic, ok = 0; if (data_size >= 12) { const InputFileFormat format = GuessImageType(data); - if (format == PNG_) { + if (format == PNG_) { ok = ReadPNG(data, data_size, pic, keep_alpha, metadata); - } else if (format == JPEG_) { + } else if (format == JPEG_) { ok = ReadJPEG(data, data_size, pic, metadata); - } else if (format == TIFF_) { + } else if (format == TIFF_) { ok = ReadTIFF(data, data_size, pic, keep_alpha, metadata); - } else if (format == WEBP_) { + } else if (format == WEBP_) { ok = ReadWebP(data, data_size, pic, keep_alpha, metadata); } } @@ -854,7 +854,7 @@ int main(int argc, const char *argv[]) { } else if (!strcmp(argv[c], "-version")) { const int version = WebPGetEncoderVersion(); printf("%d.%d.%d\n", - (version >> 16) & 0xff, (version >> 8) & 0xff, version & 0xff); + (version >> 16) & 0xff, (version >> 8) & 0xff, version & 0xff); return 0; } else if (!strcmp(argv[c], "-progress")) { show_progress = 1;