[FFmpeg-devel] [PATCH v5 0/7] Remove chained ogg stream header packets from the demuxer
Romain Beauxis
romain.beauxis at gmail.com
Sat May 10 02:43:20 EEST 2025
## Changes since last revision:
* Added mechanism to pass new extradata when decoding ogg packets.
* Use it to pass new ogg/vorbis setup data to the vorbis decoder.
* Add checks for format change when parsing subsequent ogg/vorbis and
ogg/opus chained streams
Romain Beauxis (7):
libavformat/oggdec.h: Document packet function return value.
libavformat/oggdec.{c,h}: Implement packet skip on packet return value
of 1
ogg/opus: implement header packet skip in chained ogg bitstreams.
ogg/flac: implement header packet skip in chained ogg bitstreams.
libavformat/oggdec.{c,h}: Add new_extradata, use it to pass extradata
to the next decoded packet.
ogg/vorbis: implement header packet skip in chained ogg bitstreams.
libavformat/oggdec.h: Change paket function documentation to return 1
on header packets only.
libavcodec/vorbisdec.c | 37 +----
libavformat/oggdec.c | 37 +++--
libavformat/oggdec.h | 9 ++
libavformat/oggparseflac.c | 28 +++-
libavformat/oggparseopus.c | 87 +++++++----
libavformat/oggparsevorbis.c | 174 +++++++++++++--------
tests/ref/fate/ogg-flac-chained-meta.txt | 2 -
tests/ref/fate/ogg-opus-chained-meta.txt | 1 -
tests/ref/fate/ogg-vorbis-chained-meta.txt | 3 -
9 files changed, 237 insertions(+), 141 deletions(-)
--
2.39.5 (Apple Git-154)
More information about the ffmpeg-devel
mailing list