mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
ttmlrender: Fix integer handling issue identified by coverity
Fixes CID #1405132.
This commit is contained in:
parent
bb8b27bee4
commit
3fbd12b141
1 changed files with 1 additions and 1 deletions
|
@ -1985,7 +1985,7 @@ gst_ttml_render_draw_text (GstTtmlRender * render, const gchar * text,
|
|||
ret->width = buf_width;
|
||||
ret->height = buf_height;
|
||||
ret->x = 0;
|
||||
ret->y = MAX (0, baseline_offset - (baseline - ink_rect.y));
|
||||
ret->y = MAX (0, (gint) baseline_offset - (baseline - ink_rect.y));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue