aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2025-08-09 04:01:56 +0200
committerKacper Michajłow <kasper93@gmail.com>2025-08-11 19:29:53 +0000
commit48b941d54335cd8314df3773b4a98fe2c46efd38 (patch)
tree51e2a1987d9aea82b2d747d33fb11dee25e7fe7c
parent082e2b26d4efd7cc7638a9d80a52861d4e4116db (diff)
downloadffmpeg-48b941d54335cd8314df3773b4a98fe2c46efd38.tar.gz
tools/fourcc2pixfmt: fix getopt return value type
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
-rw-r--r--tools/fourcc2pixfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fourcc2pixfmt.c b/tools/fourcc2pixfmt.c
index abea0c8d84..519cc1cad0 100644
--- a/tools/fourcc2pixfmt.c
+++ b/tools/fourcc2pixfmt.c
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
int i, list_fourcc_pix_fmt = 0, list_pix_fmt_fourccs = 0;
const PixelFormatTag *pix_fmt_tags = raw_pix_fmt_tags;
const char *pix_fmt_name = NULL;
- char c;
+ int c;
if (argc == 1) {
usage();