Skip to content

Commit 4886e38

Browse files
Merge pull request #2 from nitin-rjadhav/master
Fix: gozfree#106
2 parents f04c5cd + 223a78e commit 4886e38

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)