Commit 0e949ba4 authored by gbazin's avatar gbazin
Browse files

* modules/video_filter/blend.c: do not compare signed and unsigned.

parent c7ceea8a
...@@ -119,11 +119,11 @@ static void Blend( filter_t *p_filter, picture_t *p_dst, ...@@ -119,11 +119,11 @@ static void Blend( filter_t *p_filter, picture_t *p_dst,
{ {
int i_width, i_height; int i_width, i_height;
i_width = __MIN( p_filter->fmt_out.video.i_visible_width - i_x_offset, i_width = __MIN((int)p_filter->fmt_out.video.i_visible_width - i_x_offset,
p_filter->fmt_in.video.i_visible_width ); (int)p_filter->fmt_in.video.i_visible_width);
i_height = __MIN( p_filter->fmt_out.video.i_visible_height - i_y_offset, i_height = __MIN((int)p_filter->fmt_out.video.i_visible_height -i_y_offset,
p_filter->fmt_in.video.i_visible_height ); (int)p_filter->fmt_in.video.i_visible_height);
if( i_width <= 0 || i_height <= 0 ) return; if( i_width <= 0 || i_height <= 0 ) return;
......
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