mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
13 lines
466 B
Diff
13 lines
466 B
Diff
Index: motion-3.2.11/ffmpeg.c
|
|
===================================================================
|
|
--- motion-3.2.11.orig/ffmpeg.c
|
|
+++ motion-3.2.11/ffmpeg.c
|
|
@@ -164,7 +164,7 @@ static int file_write(URLContext *h, uns
|
|
return write(fd, buf, size);
|
|
}
|
|
|
|
-static offset_t file_seek(URLContext *h, offset_t pos, int whence)
|
|
+static int64_t file_seek(URLContext *h, int64_t pos, int whence)
|
|
{
|
|
int fd = (size_t)h->priv_data;
|
|
return lseek(fd, pos, whence);
|