From: Andre Noll Date: Sat, 28 Aug 2021 13:18:41 +0000 (+0200) Subject: mp4: Remove ->len member of struct mp4_tag. X-Git-Tag: v0.7.1~7^2~9 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a6e19bbc0c886cf310316b304e927a230236ac39;p=paraslash.git mp4: Remove ->len member of struct mp4_tag. It is set but never read. --- diff --git a/mp4.c b/mp4.c index 372d5f49..e98a24e2 100644 --- a/mp4.c +++ b/mp4.c @@ -394,7 +394,6 @@ static int parse_tag(struct mp4 *f, uint8_t parent, int32_t size) tag = f->meta.tags + f->meta.count; tag->item = para_strdup(get_metadata_name(parent)); tag->value = value; - tag->len = len; f->meta.count++; return 1; fail: diff --git a/mp4.h b/mp4.h index 00de8d64..d685287f 100644 --- a/mp4.h +++ b/mp4.h @@ -9,7 +9,6 @@ struct mp4_callback { struct mp4_tag { char *item; char *value; - uint32_t len; }; struct mp4_metadata {