gecko-dev/dom/media/mp3
alwu 0b3d5845c0 Bug 1566066 - part1 : use Maybe to distinguish size 0 and uninitialized value. r=jya
We found there is a mp3 where the size is empty in its ID3 header, which makes mp3 parser think of that we haven't parsed the header yet, and then skip unnecessary bytes again and again.

We should use `Maybe` to know whether we finish parsing the size or not.

Differential Revision: https://phabricator.services.mozilla.com/D39252

--HG--
extra : moz-landing-system : lando
2019-07-25 16:49:57 +00:00
..
moz.build
MP3Decoder.cpp
MP3Decoder.h
MP3Demuxer.cpp Bug 1566066 - part1 : use Maybe to distinguish size 0 and uninitialized value. r=jya 2019-07-25 16:49:57 +00:00
MP3Demuxer.h
MP3FrameParser.cpp Bug 1566066 - part1 : use Maybe to distinguish size 0 and uninitialized value. r=jya 2019-07-25 16:49:57 +00:00
MP3FrameParser.h Bug 1566066 - part1 : use Maybe to distinguish size 0 and uninitialized value. r=jya 2019-07-25 16:49:57 +00:00