Skip to content

Commit 223a78e

Browse files
committed
1 parent bffbfd2 commit 223a78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gear-lib/librtsp/rtp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ void rtp_socket_destroy(struct rtp_socket *s)
357357
ssize_t rtp_sendto(struct rtp_socket *s, const char *ip, uint16_t port, const void *buf, size_t len)
358358
{
359359
uint8_t m_packet[4 + (1 << 16)];
360-
int ret;
360+
int ret = -1;
361361

362362
switch (s->mode) {
363363
case RTP_TCP:

0 commit comments

Comments
 (0)