[FFmpeg-devel] [PATCH v4 0/6] Remove chained ogg stream header packets from the demuxer

Romain Beauxis romain.beauxis at gmail.com
Tue May 6 17:19:26 EEST 2025


## Changes since last revision:
* Changed split into several more atomic patches as recommended.

Romain Beauxis (6):
  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.
  ogg/vorbis: implement header packet skip in chained ogg bitstreams.
  libavformat/oggdec.h: Change paket function documentation to return 1
    on header packets only.

 libavformat/oggdec.c                       | 26 ++++++++++----------
 libavformat/oggdec.h                       |  7 ++++++
 libavformat/oggparseflac.c                 | 28 ++++++++++++++++++++--
 libavformat/oggparseopus.c                 | 11 +++++++++
 libavformat/oggparsevorbis.c               | 11 +++++++--
 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 ---
 8 files changed, 67 insertions(+), 22 deletions(-)

-- 
2.39.5 (Apple Git-154)



More information about the ffmpeg-devel mailing list