mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-13 22:36:06 -04:00
16 lines
489 B
Plaintext
16 lines
489 B
Plaintext
$NetBSD: patch-at,v 1.1 2012/02/24 18:36:49 christos Exp $
|
|
|
|
--- player/plugin/video/xvid/xvid_file.cpp.orig 2005-02-25 19:10:54.000000000 -0500
|
|
+++ player/plugin/video/xvid/xvid_file.cpp 2012-02-24 13:07:41.000000000 -0500
|
|
@@ -395,9 +395,7 @@
|
|
xvid->m_buffer_on = 0;
|
|
xvid->m_buffer_size = 0;
|
|
|
|
- fpos_t pos;
|
|
- VAR_TO_FPOS(pos, fpos->file_position);
|
|
- fsetpos(xvid->m_ifile, &pos);
|
|
+ fseeko(xvid->m_ifile, fpos->file_position, SEEK_SET);
|
|
|
|
xvid_reset_buffer(xvid);
|
|
return 0;
|