aboutsummaryrefslogtreecommitdiffstats
path: root/src/jpeg.h
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-25 01:26:05 +0000
committeryzrh <yzrh@noema.org>2022-12-25 01:26:05 +0000
commit288b65a1fd6bcb1908a31c0a3e18ce7b6bf53a89 (patch)
tree03dc0909583f0ee8f9c60e0e629dfe67008995ae /src/jpeg.h
parent9c1f1d0b75de0d2ed299842d3025941f3e681c16 (diff)
downloadmelon-288b65a1fd6bcb1908a31c0a3e18ce7b6bf53a89.tar.gz
melon-288b65a1fd6bcb1908a31c0a3e18ce7b6bf53a89.tar.zst
Handle different JPEG colour component.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jpeg.h')
-rw-r--r--src/jpeg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jpeg.h b/src/jpeg.h
index db35d94..1f5caa7 100644
--- a/src/jpeg.h
+++ b/src/jpeg.h
@@ -1,8 +1,8 @@
/*
- * Copyright (c) 2020-2021, yzrh <yzrh@noema.org>
+ * Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
-int strinfo_jpeg_dim(int *jpeg_width, int *jpeg_height,
+int strinfo_jpeg_dim(int *jpeg_width, int *jpeg_height, int *jpeg_components,
const char * restrict data, int data_size);