diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-11-18 10:07:36 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-11 00:20:35 +0100 |
commit | bbf00916e45ac8754f208c0584834cb330a89da2 (patch) | |
tree | 7875ea931fa221631856a785a4721586f207d465 | |
parent | 6c4074e4234edacfb3f37184fd68771df3cb2b7f (diff) | |
download | ffmpeg-bbf00916e45ac8754f208c0584834cb330a89da2.tar.gz |
fftools/cmdutils: Fix undefined 1 << 31
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | fftools/cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 1444ea2f07..4b50e15eef 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -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); } |