rtmp-services: Fix comparison mismatch warning

This commit is contained in:
jp9000 2021-08-10 23:30:03 -07:00
parent 57ae92206f
commit f0ab940282

View File

@ -778,8 +778,8 @@ static int get_bitrate_matrix_max(json_t *array)
if (c != 2)
continue;
if (ovi.output_width == cx && ovi.output_height == cy &&
cur_fps <= fps)
if ((int)ovi.output_width == cx &&
(int)ovi.output_height == cy && cur_fps <= fps)
return bitrate;
}