]> granicus.if.org Git - taglib/commitdiff
Fix ByteVector sizes in some test cases
authorUwe L. Korn <uwelk@xhochy.com>
Sun, 14 Sep 2014 19:04:31 +0000 (20:04 +0100)
committerUwe L. Korn <uwelk@xhochy.com>
Sun, 14 Sep 2014 19:08:31 +0000 (20:08 +0100)
tests/test_id3v2.cpp

index a77e46af41acef1be084a3d11078417c8fa420cc..50e0fef4b563d6e2d030c500a85d139834917a7e 100644 (file)
@@ -199,7 +199,7 @@ public:
                                  "JPG"
                                  "\x01"
                                  "d\x00"
-                                 "\x00", 18);
+                                 "\x00", 14);
     ID3v2::AttachedPictureFrame *frame =
         static_cast<TagLib::ID3v2::AttachedPictureFrame*>(factory->createFrame(data, TagLib::uint(2)));
 
@@ -218,7 +218,7 @@ public:
                                  "JPG"
                                  "\x01"
                                  "d\x00"
-                                 "\x00", 18);
+                                 "\x00", 14);
     ID3v2::AttachedPictureFrame *frame =
         static_cast<TagLib::ID3v2::AttachedPictureFrame*>(factory->createFrame(data, TagLib::uint(2)));