Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6baf9c4406 |
@@ -1518,7 +1518,7 @@ int show_filters(void *optctx, const char *opt, const char *arg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void show_colors(void *optctx, const char *opt, const char *arg)
|
||||
int show_colors(void *optctx, const char *opt, const char *arg)
|
||||
{
|
||||
const char *name;
|
||||
const uint8_t *rgb;
|
||||
@@ -1528,6 +1528,8 @@ void show_colors(void *optctx, const char *opt, const char *arg)
|
||||
|
||||
for (i = 0; name = av_get_known_color_name(i, &rgb); i++)
|
||||
printf("%-32s #%02x%02x%02x\n", name, rgb[0], rgb[1], rgb[2]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int show_pix_fmts(void *optctx, const char *opt, const char *arg)
|
||||
|
@@ -492,7 +492,7 @@ int show_sample_fmts(void *optctx, const char *opt, const char *arg);
|
||||
* Print a listing containing all the color names and values recognized
|
||||
* by the program.
|
||||
*/
|
||||
void show_colors(void *optctx, const char *opt, const char *arg);
|
||||
int show_colors(void *optctx, const char *opt, const char *arg);
|
||||
|
||||
/**
|
||||
* Return a positive value if a line read from standard input
|
||||
|
Reference in New Issue
Block a user