|
3 | 3 | * Martin German <[email protected]> |
4 | 4 | * |
5 | 5 | * Copyright (c) 2005-2010 Fundació i2CAT, Internet I Innovació Digital a Catalunya |
6 | | - * Copyright (c) 2015-2024 CESNET |
| 6 | + * Copyright (c) 2015-2025 CESNET |
7 | 7 | * |
8 | 8 | * Redistribution and use in source and binary forms, with or without |
9 | 9 | * modification, is permitted provided that the following conditions |
@@ -773,7 +773,7 @@ static CURL *init_curl() { |
773 | 773 | fprintf(stderr, "[rtsp] curl_easy_init() failed\n"); |
774 | 774 | return NULL; |
775 | 775 | } |
776 | | - my_curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1, ); |
| 776 | + my_curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L, ); |
777 | 777 | return curl; |
778 | 778 | } |
779 | 779 |
|
@@ -869,7 +869,7 @@ init_rtsp(struct rtsp_state *s) { |
869 | 869 | //THIS AUDIO PORTS ARE AS DEFAULT UG AUDIO PORTS BUT AREN'T RELATED... |
870 | 870 | snprintf(Atransport, sizeof Atransport, "RTP/AVP;unicast;client_port=%d-%d", port+2, port + 3); |
871 | 871 |
|
872 | | - my_curl_easy_setopt(s->curl, CURLOPT_NOSIGNAL, 1, goto error); //This tells curl not to use any functions that install signal handlers or cause signals to be sent to your process. |
| 872 | + my_curl_easy_setopt(s->curl, CURLOPT_NOSIGNAL, 1L, goto error); //This tells curl not to use any functions that install signal handlers or cause signals to be sent to your process. |
873 | 873 | //my_curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, 1); |
874 | 874 | my_curl_easy_setopt(s->curl, CURLOPT_VERBOSE, |
875 | 875 | log_level >= LOG_LEVEL_DEBUG ? 1L : 0L, goto error); |
|
0 commit comments