pjs/content/media/ogg
Ralph Giles 20b75a4654 Bug 757600 - Update the Opus version field parser. r=cpearce
On 2012 May 10, the Ogg encapsulation spec for Opus at
https://wiki.xiph.org/OggOpus bumped the version number
from zero to one. The one-byte field is also now notionally
split into major and minor subfields, with incompatible
changes signalled by the major field.

We update nsOpusState::DecodeHeader to parse the version
field separately from the stream identification and reject
any stream where the high four bits of the version field
is non-zero.

The opus-tools repo was updated 2012 May 22 to set with
version = 1. This commit enables playback of those files.
2012-05-22 20:21:46 -04:00
..
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggCodecState.cpp Bug 757600 - Update the Opus version field parser. r=cpearce 2012-05-22 20:21:46 -04:00
nsOggCodecState.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggDecoder.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggDecoder.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggDecoderStateMachine.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggDecoderStateMachine.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggReader.cpp Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsOggReader.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00