libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 5fb298e651ad41fc7c5459d8a5f4ca6a72fa46e7
parent d8f68a189413dcb78218b4c3a23b084a5c879d37
Author: Nils Durner <durner@gnunet.org>
Date:   Sun, 17 Apr 2005 12:37:35 +0000

Fix id3v2 extractor: extracted data contained one char too much

Diffstat:
Msrc/plugins/id3v23extractor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/id3v23extractor.c b/src/plugins/id3v23extractor.c @@ -168,6 +168,7 @@ libextractor_id3v23_extract(const char * filename, pos++; csize--; } + csize--; /* this byte describes the encoding try to convert strings to UTF-8 if it fails, then forget it */ @@ -191,7 +192,6 @@ libextractor_id3v23_extract(const char * filename, break; } pos++; - csize--; if ( (word != NULL) && (strlen(word) > 0) ) { prev = addKeyword(prev,