libextractor

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

commit b1fb5ac20c6fc231d8b9fb418c21f68fe5d7bd6b
parent 2456f1a8f757b242f9c4421455158f35054d6876
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  4 Feb 2009 22:08:01 +0000

fixing 1439

Diffstat:
Msrc/plugins/id3v24extractor.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/id3v24extractor.c b/src/plugins/id3v24extractor.c @@ -1,6 +1,6 @@ /* This file is part of libextractor. - (C) 2002, 2003, 2004, 2006 Vidyut Samanta and Christian Grothoff + (C) 2002, 2003, 2004, 2006, 2009 Vidyut Samanta and Christian Grothoff libextractor is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -181,6 +181,7 @@ libextractor_id3v24_extract (const char *filename, /* this byte describes the encoding try to convert strings to UTF-8 if it fails, then forget it */ + csize--; switch (data[pos + 10]) { case 0x00: @@ -208,7 +209,6 @@ libextractor_id3v24_extract (const char *filename, break; } pos++; - csize--; if ((word != NULL) && (strlen (word) > 0)) { prev = addKeyword (prev, word, tmap[i].type);