History

id3v2: fix type of ID3v2EMFunc.free()

Anton Khirnov committed 15 years ago

Commit ec229791 parent 5511ad11 file · +3 −2Browse files

Unified · Split

libavformat/id3v2.c+3−2
@@ -122,8 +122,9 @@ static unsigned int get_size(AVIOContext *s, int len) · 121 unmodified lines
122122 /**
123123 * Free GEOB type extra metadata.
124124 */
125−static void free_geobtag(ID3v2ExtraMetaGEOB *geob)
125+static void free_geobtag(void *obj)
126126 {
127+ ID3v2ExtraMetaGEOB *geob = obj;
127128 av_free(geob->mime_type);
128129 av_free(geob->file_name);
129130 av_free(geob->description);
@@ -384,7 +385,7 @@ typedef struct ID3v2EMFunc { · 254 unmodified lines
384385 const char *tag3;
385386 const char *tag4;
386387 void (*read)(AVFormatContext*, AVIOContext*, int, char*, ID3v2ExtraMeta **);
387− void (*free)();
388+ void (*free)(void *obj);
388389 } ID3v2EMFunc;
389390
390391 static const ID3v2EMFunc id3v2_extra_meta_funcs[] = {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t