]> git.tuebingen.mpg.de Git - paraslash.git/commit - error.h
mp4: Assume udta, meta and ilst are always present.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 22 Aug 2021 18:01:01 +0000 (20:01 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 30 May 2022 19:37:36 +0000 (21:37 +0200)
commit30fcea984715a12b63aab776fb3080ac1851e43a
treec2e93512d6f50936af7a3820694f978bf8e6cdac
parent12c165a1282e3b2e80c2247e14cdfcea9fd0cf4c
mp4: Assume udta, meta and ilst are always present.

Under normal circumstances these atoms exist or can at least be
created by other means (e.g., by running mp4tags -a foo bar.m4a).

This patch makes mp4_open_meta() fail early if at least one of the
three atoms is missing. This allows to remove the (never tested hence
probably buggy) code which creates these atoms.
error.h
mp4.c