mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
dvdsubenc: use unsigned shifts to avoid shifting into the sign bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
754dd7e889
commit
2ea3f37d5f
@ -207,7 +207,7 @@ static void select_palette(AVCodecContext *avctx, int out_palette[4],
|
||||
|
||||
static void build_color_map(AVCodecContext *avctx, int cmap[],
|
||||
const uint32_t palette[],
|
||||
const int out_palette[], int const out_alpha[])
|
||||
const int out_palette[], unsigned int const out_alpha[])
|
||||
{
|
||||
DVDSubtitleContext *dvdc = avctx->priv_data;
|
||||
int i, j, d, best_d;
|
||||
|
Loading…
Reference in New Issue
Block a user