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 226013ce6e..25841204b9 100644 --- a/docs/CREDITS +++ b/docs/CREDITS | |||
@@ -117,3 +117,4 @@ David Bryant | |||
117 | Martin Arver | 117 | Martin Arver |
118 | Alexander Spyridakis | 118 | Alexander Spyridakis |
119 | Pedro Baltazar Vasconcelos | 119 | Pedro Baltazar Vasconcelos |
120 | Ray Lambert | ||
diff --git a/firmware/id3.c b/firmware/id3.c index d8f7c0db7b..becb6781cc 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -673,8 +673,8 @@ static void setid3v2title(int fd, struct mp3entry *entry) | |||
673 | 673 | ||
674 | unicode_munge( ptag, &bytesread ); | 674 | unicode_munge( ptag, &bytesread ); |
675 | tag = *ptag; | 675 | tag = *ptag; |
676 | tag[bytesread + 1] = 0; | 676 | tag[bytesread++] = 0; |
677 | bufferpos += bytesread + 2; | 677 | bufferpos += bytesread; |
678 | if( tr->ppFunc ) | 678 | if( tr->ppFunc ) |
679 | bufferpos = tr->ppFunc(entry, tag, bufferpos); | 679 | bufferpos = tr->ppFunc(entry, tag, bufferpos); |
680 | break; | 680 | break; |