diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-15 21:44:07 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-03-05 08:23:18 -0500 |
commit | d40cb726d271b0284642a1ba159eb26a5c579f77 (patch) | |
tree | 215c184429e9268df22b51314014fe79bc1029b2 /libavformat/ingenientdec.c | |
parent | 0b6e5d6b32b91c6da79cd919a3c2ede9d682f838 (diff) | |
download | ffmpeg-d40cb726d271b0284642a1ba159eb26a5c579f77.tar.gz |
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: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/ingenientdec.c')
0 files changed, 0 insertions, 0 deletions