Tristan Matthews
6febbf9bb7
opus_header: fix endianness
According to https://www.rfc-editor.org/rfc/rfc7845 , the Opus header values are all
little-endian, not big-endian.
3 years ago
Tristan Matthews
79fa6af0a9
opus_header: fix channel mapping family 1 parsing
Fixes #27808
3 years ago
Francois Cartegnie
bd9ba4a8e6
codec: opus: use std getters
4 years ago
Francois Cartegnie
f582f5c5e5
codec: opus_header: read & store decoding matrix
4 years ago
Francois Cartegnie
f083c0ff7e
codec: opus_header: add init/clean cycle methods
4 years ago
Francois Cartegnie
1f073245f0
demux: xiph: improve old ffmpeg xiph extradata test
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
7 years ago
Francois Cartegnie
e514b6b4f9
codec: opus: fix comment leak
9 years ago
Francois Cartegnie
eda1ff2df8
codec: opus: fix leak
9 years ago
Francois Cartegnie
d75f89203b
codec: opus: fix types in comment_add
9 years ago
Francois Cartegnie
d72019e145
codec: opus: check comment size overflow
9 years ago
Francois Cartegnie
9df1339594
codec: opus: fix realloc usage
9 years ago
Tristan Matthews
763a902e85
opus: remove dead code
opus_prepare_header is "too small to fail"
11 years ago
Rafaël Carré
4b1794ff0e
opus_header: remove dependency on libopus
We might need to generate Opus headers without actually encoding anything
12 years ago
Rafaël Carré
313e7a26b4
opus_header: remove dependency on ogg
12 years ago
Rafaël Carré
c56ee724ce
opus_header: opus_header_to_packet doesn't need to be exported
12 years ago
Tristan Matthews
886db9fd1b
opus: add encoder
This patch adds an encoder to the opus module.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
13 years ago
Timothy B. Terriberry
af4805700c
Opus decoder.
This patch uses the information passed by the demuxer in block_t's
i_nb_samples and i_length to properly handle pre-skip, seeking
pre-roll, and end-trim. Multi-channel decoding should work. It also
adds .opus to the list of supported formats.
Signed-off-by: Rafaël Carré <funman@videolan.org>
14 years ago