git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
549bbdf
)
ff_id3v2_free_extra_meta: set the pointer pointing to extra_meta to NULL
author
Peter Ross
<pross@xvid.org>
Sat, 19 Apr 2014 02:12:00 +0000
(12:12 +1000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 19 Apr 2014 02:24:24 +0000
(
04:24
+0200)
Fixes ticket #3530.
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/id3v2.c
patch
|
blob
|
history
diff --git
a/libavformat/id3v2.c
b/libavformat/id3v2.c
index
8a8989b
..
15b58d7
100644
(file)
--- 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)