From taglib-devel Mon Sep 16 13:58:13 2013 From: Scott Wheeler Date: Mon, 16 Sep 2013 13:58:13 +0000 To: taglib-devel Subject: Re: PRIV ID3V2Tag and length Message-Id: <73ADCD73-1785-4040-B620-742C127C85C1 () kde ! org> X-MARC-Message: https://marc.info/?l=taglib-devel&m=137933991709494 Hi Avi - On Sep 16, 2013, at 1:07 PM, Avi Treistman wrote: > For example , on a payload of 1300 bytes, I am receiving a frame length of 2593 I think there must be something else going on in your code that's causing the problem. This snippet: https://gist.github.com/scotchi/6580980 Produces the (expected) output of: === test.mp3 === PRIV Frame Size: 19 Are you perhaps referring to the total tag size and not the frame size? TagLib's ID3v2 implementation pads the end of tags so that small changes don't require rewriting the whole file. Almost all ID3v2 implementations do that. -Scott _______________________________________________ taglib-devel mailing list taglib-devel@kde.org https://mail.kde.org/mailman/listinfo/taglib-devel