possible null pointer fix

Change-Id: I6b0122c7ba51e0fbd3de40da3adbec53a85cfa60
changes/80/38280/1
Richard Fuchs 6 years ago
parent ad4ea21ef4
commit 1c00016974

@ -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