Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: HLS parser - fix NULL dereference
  • Loading branch information
perexg committed Nov 19, 2015
1 parent 2fd7f73 commit 62a3f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/iptv/iptv_http.c
Expand Up @@ -210,7 +210,7 @@ iptv_http_data

pthread_mutex_lock(&iptv_lock);

if (dispatch_clock != hp->hls_last_si) {
if (dispatch_clock != hp->hls_last_si && hp->hls_si) {
/* do rounding to next MPEG-TS packet */
rem = 188 - (hp->off % 188);
if (rem < 188) {
Expand Down

0 comments on commit 62a3f72

Please sign in to comment.