summaryrefslogtreecommitdiff
path: root/multimedia/mpeg2play/files/patch-aa
blob: 8b1efae8a44e8fdba8c1f4f76c10b7c332090e55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- mpeg2play.c	1997/08/11 18:58:37	1.1
+++ mpeg2play.c	1997/08/11 19:07:22
@@ -335,7 +335,7 @@
   XmStringGetLtoR(((XmFileSelectionBoxCallbackStruct *)call_data)->value,
 		  XmSTRING_DEFAULT_CHARSET, &filename);
 
-  position = tell(base.infile);
+  position = lseek(base.infile, 0L, SEEK_CUR);
   fprintf(stderr, "pos: %d\n", position);
   fprintf(stderr, "output: %s\n", filename);