[FFmpeg-devel] [PATCH] [libavformat/mov.c] Read the QT Metadata Keys only once

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu May 14 15:09:36 EEST 2020


On 11/05/2020 17:35, Thierry Foucu wrote:
> If you have a file with multiple Metadata Keys, the second time you parse
> the keys, you will re-alloc c->meta_keys without freeing the old one.
> This change will avoid parsing all the consecutive Metadata keys.
> ---
>  libavformat/mov.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Is it correct behavior to skip sunsequent ones entirely (per QTFF spec)?

- Derek


More information about the ffmpeg-devel mailing list