Skip to content

Commit

Permalink
Merge pull request #265 from tongwenchao/master
Browse files Browse the repository at this point in the history
Update container.py to solve issue 224
  • Loading branch information
jamiesonpepper authored Jan 22, 2023
2 parents bbb1479 + fd0ac73 commit 56f615e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spatialmedia/mpeg/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def load(fh, position, end):

def load_multiple(fh, position=None, end=None):
loaded = list()
while (position < end):
while (position + 4 < end):
new_box = load(fh, position, end)
if new_box is None:
print("Error, failed to load box.")
Expand Down

0 comments on commit 56f615e

Please sign in to comment.