mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/cmdutils: Fix undefined 1 << 31
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
6c4074e423
commit
bbf00916e4
|
@ -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)
|
int show_dispositions(void *optctx, const char *opt, const char *arg)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < 32; i++) {
|
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)
|
if (str)
|
||||||
printf("%s\n", str);
|
printf("%s\n", str);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue