Make channel layout masks unsigned
It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
@@ -107,7 +107,7 @@ static int truehd_channels(int chanmap)
|
||||
return channels;
|
||||
}
|
||||
|
||||
static int64_t truehd_layout(int chanmap)
|
||||
static uint64_t truehd_layout(int chanmap)
|
||||
{
|
||||
int layout = 0, i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user