[FFmpeg-devel] [PATCH v8 0/5] Remove chained ogg stream header packets from the demuxer
Romain Beauxis
romain.beauxis at gmail.com
Sat May 24 21:14:03 EEST 2025
## Changes since last revision:
* Fixed segfaults in the vorbis decoder and parser
* Added FATE test for track ticket 2739
Romain Beauxis (5):
Add FATE test for sample from track ticket #2739
libavformat/oggdec.{c,h}: Add new_extradata, use it to pass extradata
to the next decoded packet.
ogg/vorbis: factor out header processing logic.
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/vorbis_parser.h | 11 ++
libavcodec/vorbisdec.c | 75 +++++----
libavformat/oggdec.c | 11 ++
libavformat/oggdec.h | 6 +-
libavformat/oggparsevorbis.c | 171 +++++++++++++++------
tests/Makefile | 2 +
tests/fate/trac.mak | 11 ++
tests/ref/fate/ogg-vorbis-chained-meta.txt | 3 -
tests/ref/fate/trac-2739.txt | 53 +++++++
9 files changed, 260 insertions(+), 83 deletions(-)
create mode 100644 tests/fate/trac.mak
create mode 100644 tests/ref/fate/trac-2739.txt
--
2.39.5 (Apple Git-154)
More information about the ffmpeg-devel
mailing list