Skip to content
Snippets Groups Projects
Commit d2047c14 authored by Justin Ruggles's avatar Justin Ruggles Committed by Derek Buitenhuis
Browse files

Use QT format for audio sample descriptors depending on stsd version.

ISOBMFF does not allow AudioSampleEntryV1 in stsd version 0, so
assume the descriptor format is QTFF SoundDescriptionV1. ISOBMFF does
not define a version 2.

This fixes audio decoding for some MP4 files generated with Apple
tools. The additional fields present in SoundDescriptionV1/V2 need to
be read in order to correctly read additional boxes that contain
information required for decoding the stream.

Fixes #7376.

Also see: https://github.com/HandBrake/HandBrake/issues/1555



Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent a75d805e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment