summaryrefslogtreecommitdiff
path: root/lib/rbcodec/metadata/asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/metadata/asf.c')
-rw-r--r--lib/rbcodec/metadata/asf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rbcodec/metadata/asf.c b/lib/rbcodec/metadata/asf.c
index 50e021b6a4..0d115099ec 100644
--- a/lib/rbcodec/metadata/asf.c
+++ b/lib/rbcodec/metadata/asf.c
@@ -279,13 +279,12 @@ static int asf_parse_header(int fd, struct mp3entry* id3,
279 * (little endian byte order) */ 279 * (little endian byte order) */
280 lseek(fd, 32, SEEK_CUR); 280 lseek(fd, 32, SEEK_CUR);
281 read_uint64le(fd, &wfx->numpackets); 281 read_uint64le(fd, &wfx->numpackets);
282 //DEBUGF("read packets: %llx %lld\n", wfx->numpackets, wfx->numpackets); 282 /*DEBUGF("read packets: %llx %lld\n", wfx->numpackets, wfx->numpackets);*/
283 283
284 /* Now get the play duration - uint64_t at offset 40 */ 284 /* Now get the play duration - uint64_t at offset 40 */
285 //lseek(fd, 4, SEEK_CUR);
286 read_uint64le(fd, &play_duration); 285 read_uint64le(fd, &play_duration);
287 id3->length = play_duration / 10000; 286 id3->length = play_duration / 10000;
288 //DEBUGF("****** length = %lums\n", id3->length); 287 /*DEBUGF("****** length = %lums\n", id3->length);*/
289 288
290 /* Read the packet size - uint32_t at offset 68 */ 289 /* Read the packet size - uint32_t at offset 68 */
291 lseek(fd, 20, SEEK_CUR); 290 lseek(fd, 20, SEEK_CUR);