Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
related to video-dev#794
  • Loading branch information
mangui committed Nov 9, 2016
1 parent fe0aaee commit 2ec71e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/hls.js
Original file line number Diff line number Diff line change
Expand Up @@ -6681,9 +6681,9 @@ var TSDemuxer = function () {
pesPrefix = (frag[0] << 16) + (frag[1] << 8) + frag[2];
if (pesPrefix === 1) {
pesLen = (frag[4] << 8) + frag[5];
// if PES len is not zero and not matching with total len, stop parsing. PES might be truncated
// if PES parsed length is not zero and greater than total received length, stop parsing. PES might be truncated
// minus 6 : PES header size
if (pesLen && pesLen !== stream.size - 6) {
if (pesLen && pesLen > stream.size - 6) {
return null;
}
pesFlags = frag[7];
Expand Down
4 changes: 2 additions & 2 deletions dist/hls.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 2ec71e3

Please sign in to comment.