Silences warnings when using -Wshift-overflow (GCC 6+)
Signed-off-by: James Almer <[email protected]>
---
libavcodec/movtextenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/movtextenc.c b/libavcodec/movtextenc.c
index 3219858..144e6d7 100644
--- a/libavcodec/movtextenc.c
+++ b/libavcodec/movtextenc.c
@@ -289,7 +289,7 @@ static void mov_text_color_cb(void *priv, unsigned int
color, unsigned int color
s->box_flags |= HCLR_BOX;
s->box_flags |= HLIT_BOX;
s->hlit.start = AV_RB16(&s->text_pos);
- s->hclr.color = color | (0xFF << 24); //set alpha value to FF
+ s->hclr.color = color | (0xFFU << 24); //set alpha value to FF
}
}
/* If there are more than one secondary color changes in ASS, take start of
--
2.4.5
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel