Skip to content
Snippets Groups Projects
Commit d40cb726 authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

mov: Trim dref absolute path


Samples produced by Omneon (Harmonic) store external references with
paths ending with 0s. Such movs cannot be loaded properly since every
0 is converted to '/', to keep the same parsing code for dref type 2
and type 18: this makes the external reference point to a non-existing
direactory, rather than to the actual referenced file.

Add a brief trimming loop that drops all ending 0s before trying to
parse the external reference path.

Signed-off-by: default avatarVittorio Giovara <vittorio.giovara@gmail.com>
parent 0b6e5d6b
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