Last active
December 19, 2015 09:49
-
-
Save jamesmeneghello/5935914 to your computer and use it in GitHub Desktop.
Patch for CouchPotatoServer #1828
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/libs/enzyme/mp4.py b/libs/enzyme/mp4.py | |
| index c53f30d..05c1630 100644 | |
| --- a/libs/enzyme/mp4.py | |
| +++ b/libs/enzyme/mp4.py | |
| @@ -347,7 +347,8 @@ class MPEG4(core.AVContainer): | |
| tracktype = 'audio' | |
| else: | |
| log.debug(u' --> %r, %r (unknown)' % mdia) | |
| - | |
| + if mdia[0] == 0: | |
| + break | |
| pos += mdia[0] | |
| datasize -= mdia[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment