|
@@ -404,7 +404,7 @@ error: |
|
|
* Parse GEOB tag into a ID3v2ExtraMetaGEOB struct. |
|
|
* Parse GEOB tag into a ID3v2ExtraMetaGEOB struct. |
|
|
*/ |
|
|
*/ |
|
|
static void read_geobtag(AVFormatContext *s, AVIOContext *pb, int taglen, |
|
|
static void read_geobtag(AVFormatContext *s, AVIOContext *pb, int taglen, |
|
|
char *tag, ID3v2ExtraMeta **extra_meta, int isv34) |
|
|
|
|
|
|
|
|
const char *tag, ID3v2ExtraMeta **extra_meta, int isv34) |
|
|
{ |
|
|
{ |
|
|
ID3v2ExtraMetaGEOB *geob_data = NULL; |
|
|
ID3v2ExtraMetaGEOB *geob_data = NULL; |
|
|
ID3v2ExtraMeta *new_extra = NULL; |
|
|
ID3v2ExtraMeta *new_extra = NULL; |
|
@@ -536,7 +536,7 @@ static void free_apic(void *obj) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static void read_apic(AVFormatContext *s, AVIOContext *pb, int taglen, |
|
|
static void read_apic(AVFormatContext *s, AVIOContext *pb, int taglen, |
|
|
char *tag, ID3v2ExtraMeta **extra_meta, int isv34) |
|
|
|
|
|
|
|
|
const char *tag, ID3v2ExtraMeta **extra_meta, int isv34) |
|
|
{ |
|
|
{ |
|
|
int enc, pic_type; |
|
|
int enc, pic_type; |
|
|
char mimetype[64]; |
|
|
char mimetype[64]; |
|
@@ -717,7 +717,7 @@ fail: |
|
|
typedef struct ID3v2EMFunc { |
|
|
typedef struct ID3v2EMFunc { |
|
|
const char *tag3; |
|
|
const char *tag3; |
|
|
const char *tag4; |
|
|
const char *tag4; |
|
|
void (*read)(AVFormatContext *, AVIOContext *, int, char *, |
|
|
|
|
|
|
|
|
void (*read)(AVFormatContext *, AVIOContext *, int, const char *, |
|
|
ID3v2ExtraMeta **, int isv34); |
|
|
ID3v2ExtraMeta **, int isv34); |
|
|
void (*free)(void *obj); |
|
|
void (*free)(void *obj); |
|
|
} ID3v2EMFunc; |
|
|
} ID3v2EMFunc; |
|
|