mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-12 22:13:47 -04:00
16 lines
494 B
Plaintext
16 lines
494 B
Plaintext
$NetBSD: patch-as,v 1.1 2012/02/24 18:36:48 christos Exp $
|
|
|
|
--- player/plugin/audio/mad/mp3_file.cpp.orig 2004-12-22 14:47:50.000000000 -0500
|
|
+++ player/plugin/audio/mad/mp3_file.cpp 2012-02-24 13:07:19.000000000 -0500
|
|
@@ -384,9 +384,7 @@
|
|
mp3->m_framecount = fpos->frames;
|
|
mp3->m_buffer_on = 0;
|
|
mp3->m_buffer_size = 0;
|
|
- fpos_t pos;
|
|
- VAR_TO_FPOS(pos, fpos->file_position);
|
|
- fsetpos(mp3->m_ifile, &pos);
|
|
+ fseeko(mp3->m_ifile, &fpos->file_position, SEEK_SET);
|
|
return 0;
|
|
}
|
|
|