diff options
author | Thierry Foucu <tfoucu@gmail.com> | 2020-05-11 09:35:00 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-15 22:03:36 +0200 |
commit | 1187cbf0ffd7a74f9055def89ff88d5e36a9dbcd (patch) | |
tree | dd2f7891cd493ecf0e37a1f6ba2f94ca62a55674 /libavcodec/opusenc.c | |
parent | a7e1af3cb10b7c914622deff3435bc200000eb65 (diff) | |
download | ffmpeg-1187cbf0ffd7a74f9055def89ff88d5e36a9dbcd.tar.gz |
avformat/mov: Read the QT Metadata Keys only once
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.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/opusenc.c')
0 files changed, 0 insertions, 0 deletions