openbsd-ports/x11/ogle/patches/patch-mpeg2_video_screenshot_c
2002-01-08 11:05:53 +00:00

13 lines
397 B
Plaintext

$OpenBSD: patch-mpeg2_video_screenshot_c,v 1.1 2002/01/08 11:05:53 espie Exp $
--- mpeg2_video/screenshot.c.orig Mon Dec 10 19:20:37 2001
+++ mpeg2_video/screenshot.c Mon Dec 10 19:20:46 2001
@@ -194,7 +194,7 @@ void screenshot_yuv_jpg(yuv_image_t *yuv
static char *new_file(void) {
char *pre = "shot";
- int i = 0;
+ static int i = 0;
int fd;
static char full_name[20];