Unified · Split
| @@ -122,8 +122,9 @@ static unsigned int get_size(AVIOContext *s, int len) · 121 unmodified lines | |||
| 122 | /** | 122 | /** |
| 123 | * Free GEOB type extra metadata. | 123 | * Free GEOB type extra metadata. |
| 124 | */ | 124 | */ |
| 125 | static void free_geobtag(ID3v2ExtraMetaGEOB *geob) | 125 | static void free_geobtag(void *obj) |
| 126 | { | 126 | { |
| 127 | ID3v2ExtraMetaGEOB *geob = obj; | ||
| 127 | av_free(geob->mime_type); | 128 | av_free(geob->mime_type); |
| 128 | av_free(geob->file_name); | 129 | av_free(geob->file_name); |
| 129 | av_free(geob->description); | 130 | av_free(geob->description); |
| @@ -384,7 +385,7 @@ typedef struct ID3v2EMFunc { · 254 unmodified lines | |||
| 384 | const char *tag3; | 385 | const char *tag3; |
| 385 | const char *tag4; | 386 | const char *tag4; |
| 386 | void (*read)(AVFormatContext*, AVIOContext*, int, char*, ID3v2ExtraMeta **); | 387 | void (*read)(AVFormatContext*, AVIOContext*, int, char*, ID3v2ExtraMeta **); |
| 387 | void (*free)(); | 388 | void (*free)(void *obj); |
| 388 | } ID3v2EMFunc; | 389 | } ID3v2EMFunc; |
| 389 | 390 | ||
| 390 | static const ID3v2EMFunc id3v2_extra_meta_funcs[] = { | 391 | static const ID3v2EMFunc id3v2_extra_meta_funcs[] = { |