summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-18 10:07:36 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-11 00:24:23 +0100
commit58922dc565effbd681b021773f4e1717671fc56c (patch)
tree9eabb1346aeaa7d8b3c9b6b7b9d6bd5f752d591e /fftools
parentfa1328babf09006451c0c63079f2b66a58956ec3 (diff)
downloadffmpeg-58922dc565effbd681b021773f4e1717671fc56c.tar.gz
fftools/cmdutils: Fix undefined 1 << 31
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit bbf00916e45ac8754f208c0584834cb330a89da2)
Diffstat (limited to 'fftools')
-rw-r--r--fftools/cmdutils.c2
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);
}