aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-09-25 16:58:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-25 23:01:43 +0200
commita1526cd78f6da69a4ffab897a07e536d2469f222 (patch)
tree3996f2bf69ce100c65f7fa3c0163b0f3bf9c367f /libavformat/id3v2.c
parentf57b00e89749b559da7cd99a4b630c90617e17d4 (diff)
downloadffmpeg-a1526cd78f6da69a4ffab897a07e536d2469f222.tar.gz
id3v2: Fix some (function) pointer types.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index dfa9a71443..9d7ceef5a4 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -69,8 +69,9 @@ static unsigned int get_size(AVIOContext *s, int len)
/**
* Free GEOB type extra metadata.
*/
-static void free_geobtag(ID3v2ExtraMetaGEOB *geob)
+static void free_geobtag(void *obj)
{
+ ID3v2ExtraMetaGEOB *geob = obj;
av_free(geob->mime_type);
av_free(geob->file_name);
av_free(geob->description);
@@ -518,7 +519,7 @@ void ff_id3v2_read(AVFormatContext *s, const char *magic)
void ff_id3v2_free_extra_meta(ID3v2ExtraMeta **extra_meta)
{
ID3v2ExtraMeta *current = *extra_meta, *next;
- void (*free_func)(ID3v2ExtraMeta*);
+ void (*free_func)(void *);
while (current) {
if ((free_func = get_extra_meta_func(current->tag, 1)->free))