]> granicus.if.org Git - taglib/commit
Fix a wrong parameter for zlib.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 6 Jan 2015 08:20:03 +0000 (17:20 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 6 Jan 2015 09:45:42 +0000 (18:45 +0900)
commit9d91610fc0b978d6d34061bb1046317e087dc30a
tree67ca4e725c948f3edba1a8f6138c1056b0d8f2a5
parentaed689c1458031e4f37edbdda8c1f7bfc6d0d92b
Fix a wrong parameter for zlib.

z_stream.avail_in has to be the length of the input buffer.
It will fail when frameDataLength is smaller than the actual compressed data size.
taglib/mpeg/id3v2/id3v2frame.cpp
tests/data/compressed_id3_frame.mp3