Commit Graph

1239 Commits

Author SHA1 Message Date
trav90 4b7a6746f8 [mp3] Return 0 for incomplete ID3 header size 2018-07-25 06:36:21 +08:00
trav90 de03581394 [mp3] Decrease buffer size when scanning for next frame 2018-07-25 06:36:19 +08:00
trav90 b4fc54629a Add MP3 decoder and integrate with MP3 demuxer 2018-07-25 06:36:17 +08:00
trav90 e14db2c288 Fix MP3 decoding with early version of LibAV
LibAV 0.8 incorrectly set the pts as dts ; so we must set the dts to ensure not all frames have a time of 0.
2018-07-25 06:36:15 +08:00
trav90 d972b22cc4 [mp3] Properly read channels count
The channel count is stored on bit 6 & 7 of byte at offset 3.
2018-07-25 06:36:13 +08:00
trav90 b22face031 Extend MP3 demuxer gtest to include a test file for large ID3v2 tags 2018-07-25 06:36:11 +08:00
trav90 ae0250cfaa Prevent potential overflows of the input buffer pointer when skipping large ID3 headers 2018-07-25 06:36:09 +08:00
trav90 11031cf9ed Successfully skip ID3 tags stretching beyond the current input buffer
This also slightly tightens up invalid header detection for both ID3 and MPEG frame headers.
2018-07-25 06:36:08 +08:00
trav90 2fe8db9249 Fix comment typos 2018-07-25 06:36:06 +08:00
trav90 d010804dbb Abort frame parsing if no valid audio stream is found 2018-07-25 06:36:04 +08:00
trav90 8ad5db6929 Increase strictness of ID3 header detection 2018-07-25 06:36:02 +08:00
trav90 fe6198e9e1 Use getter to access MediaRawData mData and mSize member in MP3Demuxer 2018-07-25 06:36:00 +08:00
trav90 18fcfaafab Add MP3 track demuxer seek tests 2018-07-25 06:35:58 +08:00
trav90 029a85726a Add MP3 demuxer tests for stream resources with unknown lengths 2018-07-25 06:35:57 +08:00
trav90 aeacb9eae3 Add tests for MP3 track demuxer 2018-07-25 06:35:55 +08:00
trav90 e3a17053d0 Reset MP3 frame parser on track demuxer reset 2018-07-25 06:35:53 +08:00
trav90 75f6617aab Fix MP3 demuxer initialization for resources with unknown content lengths 2018-07-25 06:35:51 +08:00
trav90 cf7c0f7308 Remove extra { 2018-07-25 06:35:49 +08:00
trav90 cd3cf81bba Rebase MP3 demuxer on MediaDataDemuxer interface 2018-07-25 06:35:47 +08:00
trav90 f466cc6b5a Add MP3 track demuxer 2018-07-25 06:35:45 +08:00
JustOff c12a7d644d Fix "TypeError: aUrl is undefined" when open new window 2018-07-25 06:35:43 +08:00
janekptacijarabaci 17f727d3e6 [windows] The XBL scope/principal vs. document.domain - throws an error 2018-07-25 06:35:41 +08:00
Pale Moon 5e3fe1ad93 Version bump 2018-07-25 06:35:39 +08:00
Pale Moon 5e0c404c06 Improve legibility and general appeal of unstable branding about box. 2018-07-25 06:35:38 +08:00
Pale Moon 9820ee4773 Make privacy preferences a tabbed category.
No string changes, previous strings for groupboxes have been re-used.
This resolves #766.
2018-07-25 06:35:36 +08:00
Pale Moon 2de04aca36 Add soundcloud SSUAO 2018-07-25 06:35:34 +08:00
Pale Moon 18e2173c3d Fix CallArgs usage.
This resolves #667.
2018-07-25 06:35:32 +08:00
janekptacijarabaci 1543f5dc94 Permissions: Plugins improvements (+ style clean up), skips the same permString 2018-07-25 06:35:30 +08:00
janekptacijarabaci e0e3875735 Permissions: Plugins improvements (+ style clean up), fix typo 2018-07-25 06:35:28 +08:00
janekptacijarabaci c90d4e768c Permissions: Plugins improvements (+ style clean up), fix typo 2018-07-25 06:35:26 +08:00
janekptacijarabaci b55dbe0924 Permissions: Plugins improvements (+ style clean up) 2018-07-25 06:35:24 +08:00
JustOff 3d2f47f111 Update the resource URI for PMkit 2018-07-25 06:35:22 +08:00
JustOff 17eff40939 Update corresponding moz.build files 2018-07-25 06:35:20 +08:00
JustOff ae93e93452 Move jetpack tree to commonjs 2018-07-25 06:35:18 +08:00
JustOff 81fc943c1b Set release notes URL in About dialog based on channel 2018-07-25 06:35:12 +08:00
JustOff af54a36073 More accurate way to handle location of 'ui/buttons' in toolbars 2018-07-25 06:35:10 +08:00
Pale Moon 559d351f99 Fix typo in branding 2018-07-25 06:35:08 +08:00
Pale Moon d251624179 Update Youtube SSUAO
This resolves #816.
2018-07-25 06:35:07 +08:00
Pale Moon d880d9e9a2 Update unstable branding + config 2018-07-25 06:35:05 +08:00
Pale Moon beaf9608a5 Add a user control mechanism to deny clipboard cut/copy. 2018-07-25 06:35:03 +08:00
Pale Moon b693160f4f Fix test catch for let in versionless HTML script tags. 2018-07-25 06:35:00 +08:00
Gpower2 4d7fd7120f Revert "Update jemalloc to 4.3.1"
This reverts commit 97bf39db4c89441518b15b4a55b06eb75de080f8.
2018-07-25 06:34:59 +08:00
Pale Moon 39a21cca31 Make the let keyword versionless.
Tag #773.
2018-07-25 06:34:56 +08:00
Pale Moon 27710e276e Remove support for let (x=y) { } blocks.
Tag #773.
2018-07-25 06:34:55 +08:00
Pale Moon dca4339883 Remove let blocks in js tests 2018-07-25 06:34:53 +08:00
JustOff 04cfe23841 Add stateOfDownload() to DownloadsCommon.jsm 2018-07-25 06:34:51 +08:00
janekptacijarabaci c7f08141e4 Permissions - Plugins (follow up) 2018-07-25 06:34:49 +08:00
Pale Moon 69fd1c8ebe Remove support for non-standard let expressions, part 3: Fix parser code issue.
Tag #773.
2018-07-25 06:28:12 +08:00
Pale Moon 476d379097 Remove support for non-standard let expressions, part 2: tests.
Tag #773.
2018-07-25 06:27:39 +08:00
Pale Moon 563619e5f0 Remove support for non-standard let expressions, part 1: code.
Tag #773.
2018-07-25 06:27:04 +08:00