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:
Mans Rullgard
2011-11-25 12:51:57 +00:00
parent 00a856e3f9
commit cc276c85d1
21 changed files with 39 additions and 39 deletions

View File

@@ -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;