fftools/cmdutils: Fix undefined 1 << 31

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit bbf00916e45ac8754f208c0584834cb330a89da2)
This commit is contained in:
Andreas Rheinhardt 2021-11-18 10:07:36 +01:00
parent fa1328babf
commit 58922dc565

View File

@ -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);
}