diff options
author | Peter Ross <pross@xvid.org> | 2014-04-19 12:12:00 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-19 04:24:24 +0200 |
commit | c94305ae23318c8956a30485cd5642829f4f16a9 (patch) | |
tree | afe164db8b8d38c0fe73bd134d7cbc9dfe33913c /libavformat | |
parent | 549bbdfb4ba44ef69841a7b6f7a9785a2d670299 (diff) | |
download | ffmpeg-c94305ae23318c8956a30485cd5642829f4f16a9.tar.gz |
ff_id3v2_free_extra_meta: set the pointer pointing to extra_meta to NULL
Fixes ticket #3530.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/id3v2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 8a8989b438..15b58d7cf2 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -937,6 +937,8 @@ void ff_id3v2_free_extra_meta(ID3v2ExtraMeta **extra_meta) av_freep(¤t); current = next; } + + *extra_meta = NULL; } int ff_id3v2_parse_apic(AVFormatContext *s, ID3v2ExtraMeta **extra_meta) |