Skip to content

Commit

Permalink
fftools/cmdutils: Fix undefined 1 << 31
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
  • Loading branch information
mkver committed Jan 10, 2022
1 parent 6c4074e commit bbf0091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fftools/cmdutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ int show_sample_fmts(void *optctx, const char *opt, const char *arg)
int show_dispositions(void *optctx, const char *opt, const char *arg)
{
for (int i = 0; i < 32; i++) {
const char *str = av_disposition_to_string(1 << i);
const char *str = av_disposition_to_string(1U << i);
if (str)
printf("%s\n", str);
}
Expand Down

0 comments on commit bbf0091

Please sign in to comment.