]> gitweb @ CieloNegro.org - pkgsrc-cinelerra-cv.git/blob - patches/patch-mpeg3tocutil_c
shmmax patch
[pkgsrc-cinelerra-cv.git] / patches / patch-mpeg3tocutil_c
1 $NetBSD$
2
3 --- libmpeg3/mpeg3tocutil.c.orig        2010-02-01 08:26:23.000000000 +0000
4 +++ libmpeg3/mpeg3tocutil.c
5 @@ -1415,8 +1415,8 @@ int64_t mpeg3_get_source_date(mpeg3_t *f
6  
7  int64_t mpeg3_calculate_source_date(char *path)
8  {
9 -       struct stat64 ostat;
10 -       bzero(&ostat, sizeof(struct stat64));
11 -       stat64(path, &ostat);
12 +       struct stat ostat;
13 +       bzero(&ostat, sizeof(struct stat));
14 +       stat(path, &ostat);
15         return ostat.st_mtime;
16  }