summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-01-30 12:27:25 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-01-30 12:27:25 +0000
commit820e1f36e84e6135c53efdbadd6b6eff1c920ab1 (patch)
treec389c50151a74bb916f10d5ddc45e16b930fb510
parent81e86315a6966e172f4988f8925f830e01072c53 (diff)
downloadxine-lib-820e1f36e84e6135c53efdbadd6b6eff1c920ab1.tar.gz
xine-lib-820e1f36e84e6135c53efdbadd6b6eff1c920ab1.tar.bz2
Fix dvdnav map file closure.
-rw-r--r--src/input/libdvdnav/remap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/libdvdnav/remap.c b/src/input/libdvdnav/remap.c
index df0be29ce..42bb8b3dd 100644
--- a/src/input/libdvdnav/remap.c
+++ b/src/input/libdvdnav/remap.c
@@ -216,7 +216,7 @@ remap_t* remap_loadmap( char *title) {
remap_add_node( map, tmp);
}
}
- close (fp); /* ignoring errors... */
+ fclose (fp); /* ignoring errors... */
if (map->nblocks == 0 && map->debug == 0) return NULL;
return map;