]> granicus.if.org Git - taglib/commit
Read the compressed data as a stream
authorScott Wheeler <scott@directededge.com>
Sun, 4 Jan 2015 18:58:18 +0000 (19:58 +0100)
committerScott Wheeler <scott@directededge.com>
Sun, 4 Jan 2015 18:58:18 +0000 (19:58 +0100)
commitcaa53e8de5591a75138f90cced544908d016222b
treeff7617e833225f71a718dbe69235ea3e8ad5403a
parent31982660c8d6d82bb21f477522dc6e910158dfdc
Read the compressed data as a stream

This avoids allocating the complete buffer at first based solely
on the value read from the frame header.  This then does a sanity
check at the end of reading to make sure that the two values match.
At present, it just prints a debugging message if the values do not
match.

Fixes #466
taglib/mpeg/id3v2/id3v2frame.cpp