forked from len0rd/rockbox
for oggs, we do a lame crc from index 0 to make the rundb work better (but this
_really_ should crc only the audio data and not the initial meta and tag data) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c4b31b0ddf
commit
c7430a7691
1 changed files with 3 additions and 0 deletions
|
@ -234,6 +234,9 @@ sub singlefile {
|
||||||
|
|
||||||
if($file =~ /\.ogg$/i) {
|
if($file =~ /\.ogg$/i) {
|
||||||
$hash = get_oggtag($file);
|
$hash = get_oggtag($file);
|
||||||
|
|
||||||
|
# CRC from 0 until we figure out exactly where the audio data starts!
|
||||||
|
$hash->{FILECRC} = crc32($file, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$hash = get_mp3tag($file);
|
$hash = get_mp3tag($file);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue