Commit 2ea3f37d authored by Michael Niedermayer's avatar Michael Niedermayer

dvdsubenc: use unsigned shifts to avoid shifting into the sign bit

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 754dd7e8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment