Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix occasional audio stream not starting (bug #2172)
  • Loading branch information
johsmi authored and perexg committed Aug 1, 2014
1 parent b5f39d5 commit 526417d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/parsers.c
Expand Up @@ -398,7 +398,7 @@ depacketize(service_t *t, elementary_stream_t *st, size_t len,

plen = (buf[4] << 8) | buf[5];

if(plen + 6 > len || next_startcode != sc)
if(plen + 6 > len)
return 3;

if(plen + 6 < len)
Expand Down

0 comments on commit 526417d

Please sign in to comment.