Skip to content
Snippets Groups Projects
Commit 2ea3f37d authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent 754dd7e8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment