projects
/
platform
/
upstream
/
lightmediascanner.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f71109
)
flac: fix wrong prefix length
author
Lucas De Marchi
<lucas.demarchi@intel.com>
Tue, 10 Sep 2013 23:52:00 +0000
(20:52 -0300)
committer
Lucas De Marchi
<lucas.demarchi@intel.com>
Tue, 10 Sep 2013 23:52:00 +0000
(20:52 -0300)
Fix copy and paste from other items.
src/plugins/flac/flac.c
patch
|
blob
|
history
diff --git
a/src/plugins/flac/flac.c
b/src/plugins/flac/flac.c
index
4175b4a
..
1339193
100644
(file)
--- a/
src/plugins/flac/flac.c
+++ b/
src/plugins/flac/flac.c
@@
-104,7
+104,7
@@
_parse(struct plugin *plugin, struct lms_context *ctxt, const struct lms_file_in
else if (strncmp(str, "ARTIST=", 7) == 0)
lms_string_size_strndup(&info.artist, str + 7, len - 7);
else if (strncmp(str, "ALBUM=", 6) == 0)
- lms_string_size_strndup(&info.album, str +
7, len - 7
);
+ lms_string_size_strndup(&info.album, str +
6, len - 6
);
else if (strncmp(str, "GENRE=", 6) == 0)
lms_string_size_strndup(&info.genre, str + 6, len - 6);
else if (strncmp(str, "TRACKNUMBER=", 12) == 0)