Camtoone DHAV structural validator component
License: GNU Lesser General Public License, version 2.1 or (at your option) any later version.
Full license text: COPYING.

Upstream framing reference: FFmpeg libavformat/dhav.c
Copyright (c) 2018 Paul B Mahol (upstream reference).
Immutable file revision: 50e65074f5cca638d6dd4cf9db4b6dcf4f0a863e
https://github.com/FFmpeg/FFmpeg/blob/50e65074f5cca638d6dd4cf9db4b6dcf4f0a863e/libavformat/dhav.c
Reference source and its original notices: upstream/dhav.c.

Modification history:
2026-10-23: Kotlin structural validator authored following consultation of the
FFmpeg DHAV reference. No clean-room provenance is claimed.
2026-11-20: Validator isolated and translated to an independent Java 8 library;
size cap supplied by caller, format exception exposed through a stable Java API.
The original framing checks, interruption behavior and validation policy remain.
The upstream author is not asserted to be the author of the Java translation;
no unverified copyright owner is asserted for local contributions.

This component is distributed WITHOUT ANY WARRANTY, including merchantability
or fitness for a particular purpose; see COPYING. This component performs
structural framing validation, not decoding or remuxing.

LGPL-2.1-or-later is adopted conservatively for this component and its local
modifications. This notice does not relicense the separate proprietary Camtoone
application. It does not determine the original validator's legal classification.

Release-specific corresponding source, replacement/relink materials, delivery
and application terms must be supplied by release engineering as applicable.
This notice is not a written source offer or a representation that a release
relink kit has already been published or verified.
