gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8188 - Extractor/src/plugins


From: gnunet
Subject: [GNUnet-SVN] r8188 - Extractor/src/plugins
Date: Wed, 4 Feb 2009 15:08:02 -0700 (MST)

Author: grothoff
Date: 2009-02-04 15:08:01 -0700 (Wed, 04 Feb 2009)
New Revision: 8188

Modified:
   Extractor/src/plugins/id3v24extractor.c
Log:
fixing 1439

Modified: Extractor/src/plugins/id3v24extractor.c
===================================================================
--- Extractor/src/plugins/id3v24extractor.c     2009-02-04 21:04:40 UTC (rev 
8187)
+++ Extractor/src/plugins/id3v24extractor.c     2009-02-04 22:08:01 UTC (rev 
8188)
@@ -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 @@
               /* 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 @@
                   break;
                 }
               pos++;
-              csize--;
               if ((word != NULL) && (strlen (word) > 0))
                 {
                   prev = addKeyword (prev, word, tmap[i].type);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]