Turns out 4 + 4 + 2 + (4 * 2) is actually 18 and not 22. This avoids
a presumably unintentional padding of uninitialised bytes at the end
of the CONT tags chunk, which should be harmless but causes warnings
in valgrind (see #608533 for a test URL).
ctx->duration = MAX (ctx->duration, intval);
}
+ /* FIXME: use GstByteWriter to write the header */
/* PROP */
offset = 0;
size = 50;
READ_BUFFER (sdp, "Comment", comment, comment_len);
READ_BUFFER (sdp, "Copyright", copyright, copyright_len);
- size = 22 + title_len + author_len + comment_len + copyright_len;
+ size = 18 + title_len + author_len + comment_len + copyright_len;
ENSURE_SIZE (offset + size);
datap = data + offset;