diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-02-03 14:58:50 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-02-03 15:15:12 +0000 |
commit | e3528d2a7bf29ba148d7ac1678552ce0089cd14f (patch) | |
tree | 954767457f0036328742d7d565179adc2e20d224 /libavutil/utils.c | |
parent | 27b99d929fe3440b4bba8e5d970c2802f274f328 (diff) | |
download | ffmpeg-e3528d2a7bf29ba148d7ac1678552ce0089cd14f.tar.gz |
mov: Implement parsing of the "HandlerName" from the MP4 HDLR atom
This atom typically is used for a track title. The handler name is stored
as a Pascal string in the QT specs (first byte is the length of the string),
so do not export it.
A second length check based on the first character is added to avoid
overwriting an already specified handler_name (it happens with YouTube
videos for instance, the handler_name get masked), or specifying an
empty string metadata.
The Pascal string fix and the second length check are written
by Clément Bœsch <clement.boesch@smartjog.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions