summaryrefslogtreecommitdiff
path: root/src/format/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/image')
-rw-r--r--src/format/image/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/image/png.c b/src/format/image/png.c
index e92e091..2b63ad2 100644
--- a/src/format/image/png.c
+++ b/src/format/image/png.c
@@ -220,7 +220,7 @@ ff_result ff_png_data_handler(uint8_t *buf, size_t len, ff_png_ctx *ctx)
case 4: // Paeth Predictor
// TODO: Get a Paeth predictor function
break;
- case 5: // Unknown
+ default: // Unknown
ff_dprintf("png: unsupported scanline filter method '%d'", filter_type);
free(reconstructed_buf);
free(previous_row);