1
0
Fork 0
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:
Daniel Stenberg 2005-07-08 21:25:15 +00:00
parent c4b31b0ddf
commit c7430a7691

View file

@ -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);