forked from len0rd/rockbox
AAC/ALAC: Fix display of ReplayGain values (e.g., in the ID3 Info screen).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11683 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aec4bab6ee
commit
3183aeabac
1 changed files with 8 additions and 3 deletions
|
@ -1276,9 +1276,14 @@ static bool read_mp4_tags(int fd, struct mp3entry* id3,
|
|||
/* Re-use the read buffer as the dest buffer... */
|
||||
buffer -= length;
|
||||
buffer_left += length;
|
||||
|
||||
parse_replaygain(tag_name, buffer, id3, buffer,
|
||||
buffer_left);
|
||||
|
||||
if (parse_replaygain(tag_name, buffer, id3,
|
||||
buffer, buffer_left) > 0)
|
||||
{
|
||||
/* Data used, keep it. */
|
||||
buffer += length;
|
||||
buffer_left -= length;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue