[FFmpeg-cvslog] fftools/cmdutils: Fix undefined 1 << 31
Andreas Rheinhardt
git at videolan.org
Tue Jan 11 01:23:51 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Thu Nov 18 10:07:36 2021 +0100| [bbf00916e45ac8754f208c0584834cb330a89da2] | committer: Andreas Rheinhardt
fftools/cmdutils: Fix undefined 1 << 31
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bbf00916e45ac8754f208c0584834cb330a89da2
---
fftools/cmdutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
More information about the ffmpeg-cvslog
mailing list