This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 494a13114410c2863e6c4150f43b802b5d310b90 Author: Romain Beauxis <[email protected]> AuthorDate: Fri Nov 27 08:22:21 2026 -0600 Commit: Romain Beauxis <[email protected]> CommitDate: Mon Nov 30 09:49:26 2026 -0600 avformat/ogg/demuxer/vorbis: do not truncate the granule of an unparsable page The timestamp of a page holding a packet that cannot be parsed falls back to zero, by taking the page granule as the page duration. That duration was an int: past 2^31 samples the granule was truncated and the timestamp was a multiple of 2^32 instead. --- libavformat/ogg/demuxer/vorbis.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/ogg/demuxer/vorbis.c b/libavformat/ogg/demuxer/vorbis.c index 2b4ccea305..eec067dcc1 100644 --- a/libavformat/ogg/demuxer/vorbis.c +++ b/libavformat/ogg/demuxer/vorbis.c @@ -354,7 +354,8 @@ static int vorbis_check_packet_order(AVFormatContext *s, static int64_t vorbis_page_start_pts(struct ogg_stream *os, struct oggvorbis_private *priv) { - int page_duration = os->pduration, flags = 0; + int64_t page_duration = os->pduration; + int flags = 0; uint8_t *last_pkt = os->buf + os->pstart + os->psize; uint8_t *next_pkt = last_pkt; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
