avutil/pixdesc: Fix 1 << 32

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-03-26 18:22:24 +01:00 committed by Andreas Rheinhardt
parent 3ef65fd4d1
commit b7565b65b8
1 changed files with 1 additions and 1 deletions

View File

@ -2659,7 +2659,7 @@ void ff_check_pixfmt_descriptors(void){
continue;
av_read_image_line(tmp, (void*)data, linesize, d, 0, 0, j, 2, 0);
av_assert0(tmp[0] == 0 && tmp[1] == 0);
tmp[0] = tmp[1] = (1<<c->depth) - 1;
tmp[0] = tmp[1] = (1ULL << c->depth) - 1;
av_write_image_line(tmp, data, linesize, d, 0, 0, j, 2);
}
}