Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: Add support for chapter segment UUID and edition UID
Date: Sat, 5 Apr 2025 01:37:23 +0200
Message-ID: <20250404233723.GB4991@pb2> (raw)
In-Reply-To: <20250404092402.54430-4-alexander.bladh@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2165 bytes --]

On Fri, Apr 04, 2025 at 11:24:05AM +0200, Alexander Westberg-Bladh wrote:
> This adds support for parsing ChapterSegmentUID and ChapterSegmentEditionUID
> elements in Matroska chapters. These elements are used in ordered chapters
> to reference external files see #3123.
> 
> Signed-off-by: Alexander Westberg-Bladh <alexander.bladh@gmail.com>
> ---
>  libavformat/matroska.h    |  3 +++
>  libavformat/matroskadec.c | 32 ++++++++++++++++++++------------
>  2 files changed, 23 insertions(+), 12 deletions(-)

breaks fate-h264-direct-bff

==3402053== Invalid read of size 8
==3402053==    at 0x126DCE6: av_buffer_realloc (in ffmpeg/ffmpeg_g)
==3402053==    by 0x67E927: ebml_parse (in ffmpeg/ffmpeg_g)
==3402053==    by 0x67EC84: ebml_parse (in ffmpeg/ffmpeg_g)
==3402053==    by 0x67EC84: ebml_parse (in ffmpeg/ffmpeg_g)
==3402053==    by 0x67F421: matroska_read_header (in ffmpeg/ffmpeg_g)
==3402053==    by 0x625A1E: avformat_open_input (in ffmpeg/ffmpeg_g)
==3402053==    by 0x3054D4: ifile_open (in ffmpeg/ffmpeg_g)
==3402053==    by 0x31C417: open_files.isra.0 (in ffmpeg/ffmpeg_g)
==3402053==    by 0x31E3F5: ffmpeg_parse_options (in ffmpeg/ffmpeg_g)
==3402053==    by 0x2FCD77: main (in ffmpeg/ffmpeg_g)
==3402053==  Address 0x118dd288 is 0 bytes after a block of size 1,672 alloc'd
==3402053==    at 0x483E0F0: memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==3402053==    by 0x483E212: posix_memalign (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==3402053==    by 0x128A524: av_malloc (in ffmpeg/ffmpeg_g)
==3402053==    by 0x128A6ED: av_mallocz (in ffmpeg/ffmpeg_g)
==3402053==    by 0x625DC4: avformat_open_input (in ffmpeg/ffmpeg_g)
==3402053==    by 0x3054D4: ifile_open (in ffmpeg/ffmpeg_g)
==3402053==    by 0x31C417: open_files.isra.0 (in ffmpeg/ffmpeg_g)
==3402053==    by 0x31E3F5: ffmpeg_parse_options (in ffmpeg/ffmpeg_g)
==3402053==    by 0x2FCD77: main (in ffmpeg/ffmpeg_g)


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  reply	other threads:[~2025-04-04 23:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-04  9:24 Alexander Westberg-Bladh
2025-04-04 23:37 ` Michael Niedermayer [this message]
2025-04-05  7:57   ` Alexander bladh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250404233723.GB4991@pb2 \
    --to=michael@niedermayer.cc \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git