From 17c0d3aed1f09676ee97da972e01e7dfa35a97b6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 10 Dec 2003 00:54:25 +0000 Subject: - remove XINE_LANG_LABEL_MAX_SIZE, there's already XINE_LANG_MAX for that - make sure that the strings copied with strncpy are null-terminated - fix HAVE_STDLIB_H warning compiling the MNG demuxer CVS patchset: 5883 CVS date: 2003/12/10 00:54:25 --- src/demuxers/demux_mng.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/demuxers/demux_mng.c') diff --git a/src/demuxers/demux_mng.c b/src/demuxers/demux_mng.c index f94babc8b..e1afda477 100644 --- a/src/demuxers/demux_mng.c +++ b/src/demuxers/demux_mng.c @@ -19,7 +19,7 @@ */ /* - * $Id: demux_mng.c,v 1.17 2003/12/05 15:54:57 f1rmb Exp $ + * $Id: demux_mng.c,v 1.18 2003/12/10 00:54:25 hadess Exp $ * * demux_mng.c, Demuxer plugin for Multiple-image Network Graphics format * @@ -28,6 +28,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" +#undef HAVE_CONFIG_H #endif #include @@ -35,6 +36,10 @@ #include #include +#ifdef HAVE_STDLIB_H +#undef HAVE_STDLIB_H +#endif + #include #define LOG_MODULE "demux_mng" -- cgit v1.2.3