summaryrefslogtreecommitdiff
path: root/system/motion/motion-3.2.11-offsett.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/motion/motion-3.2.11-offsett.patch')
-rw-r--r--system/motion/motion-3.2.11-offsett.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/motion/motion-3.2.11-offsett.patch b/system/motion/motion-3.2.11-offsett.patch
new file mode 100644
index 0000000000..f3116abbc8
--- /dev/null
+++ b/system/motion/motion-3.2.11-offsett.patch
@@ -0,0 +1,13 @@
+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);