Unified · Split
| @@ -122,8 +122,9 @@ static unsigned int get_size(AVIOContext *s, int len) · 121 unmodified lines | ||
| 122 | 122 | /** |
| 123 | 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 | 128 | av_free(geob->mime_type); |
| 128 | 129 | av_free(geob->file_name); |
| 129 | 130 | av_free(geob->description); |
| @@ -384,7 +385,7 @@ typedef struct ID3v2EMFunc { · 254 unmodified lines | ||
| 384 | 385 | const char *tag3; |
| 385 | 386 | const char *tag4; |
| 386 | 387 | void (*read)(AVFormatContext*, AVIOContext*, int, char*, ID3v2ExtraMeta **); |
| 387 | − void (*free)(); | |
| 388 | + void (*free)(void *obj); | |
| 388 | 389 | } ID3v2EMFunc; |
| 389 | 390 | |
| 390 | 391 | static const ID3v2EMFunc id3v2_extra_meta_funcs[] = { |