diff -ru motion-3.2.11.orig/ffmpeg.c motion-3.2.11/ffmpeg.c --- motion-3.2.11.orig/ffmpeg.c 2008-09-22 01:20:58.000000000 +0200 +++ motion-3.2.11/ffmpeg.c 2008-11-19 18:40:16.000000000 +0100 @@ -60,6 +60,8 @@ */ #define APPEND_PROTO "appfile" +typedef int64_t offset_t; + /* Some forward-declarations. */ void ffmpeg_put_frame(struct ffmpeg *, AVFrame *); void ffmpeg_cleanups(struct ffmpeg *);