aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-02-13 01:20:58 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-02-13 01:20:58 +0530
commit520ca258d4f979500f839e13a278bee35bfcc00a (patch)
tree4631ad4a25ecac619f184592033b6ef14b4fdc45 /python/servo
parenta746522b58d31e14fe509d2f11fcb01b2089fdb0 (diff)
parentec0ea465ec1722175be277f806cdd11bcc75ca2f (diff)
downloadservo-520ca258d4f979500f839e13a278bee35bfcc00a.tar.gz
servo-520ca258d4f979500f839e13a278bee35bfcc00a.zip
Auto merge of #9618 - jongiddy:fix-mp4-size, r=jdm
Calculate correct mp4 header length. The calculation of MP4 frame length is incorrect, shifting values by 1 bit instead of 8 bits. It works for the test MP4 file because the length of the frame is less than 256 bytes, so the shifted values are all zero. This PR changes the code to calculate the length correctly. It adds a test to check a fake long stream. Still not long enough to test completely, but at least detects the problem with the original code. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9618) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
0 files changed, 0 insertions, 0 deletions