diff options
| -rw-r--r-- | docs/CREDITS | 1 | ||||
| -rw-r--r-- | firmware/id3.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/CREDITS b/docs/CREDITS index 226013c..2584120 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -117,3 +117,4 @@ David Bryant Martin Arver Alexander Spyridakis Pedro Baltazar Vasconcelos +Ray Lambert diff --git a/firmware/id3.c b/firmware/id3.c index d8f7c0d..becb678 100644 --- a/firmware/id3.c +++ b/firmware/id3.c @@ -673,8 +673,8 @@ static void setid3v2title(int fd, struct mp3entry *entry) unicode_munge( ptag, &bytesread ); tag = *ptag; - tag[bytesread + 1] = 0; - bufferpos += bytesread + 2; + tag[bytesread++] = 0; + bufferpos += bytesread; if( tr->ppFunc ) bufferpos = tr->ppFunc(entry, tag, bufferpos); break; |