This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
dvdsubdec: use unsigned shifts to avoid shifting into the sign bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer
12 years ago
parent
c8737d348b
commit
754dd7e889
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/dvdsubdec.c
+ 1
- 1
libavcodec/dvdsubdec.c
View File
@@ -146,7 +146,7 @@ static void guess_palette(uint32_t *rgba_palette,
if(ctx->has_palette) {
for(i = 0; i < 4; i++)
rgba_palette[i] = (ctx->palette[colormap[i]] & 0x00ffffff)
| ((alpha[i] * 17) << 24);
| ((alpha[i] * 17
U
) << 24);
return;
}
Write
Preview
Loading…
Cancel
Save