Browse Source

possible null pointer fix

Change-Id: I6b0122c7ba51e0fbd3de40da3adbec53a85cfa60
changes/80/38280/1
Richard Fuchs 6 years ago
parent
commit
1c00016974
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/media_socket.c

+ 1
- 1
daemon/media_socket.c View File

@ -1949,7 +1949,7 @@ static void stream_fd_readable(int fd, void *p, uintptr_t u) {
str_init_len(&phc.s, buf + RTP_BUFFER_HEAD_ROOM, ret);
if (sfd->stream->jb) {
if (sfd->stream && sfd->stream->jb) {
ret = buffer_packet(&phc.mp, &phc.s);
if (ret == 1)
ret = stream_packet(&phc);


Loading…
Cancel
Save