diff options
author | Rocky Bernstein <rockyb@users.sourceforge.net> | 2005-05-20 02:01:35 +0000 |
---|---|---|
committer | Rocky Bernstein <rockyb@users.sourceforge.net> | 2005-05-20 02:01:35 +0000 |
commit | f23f3f0026c54a6c9f7d45367690bc461fc79290 (patch) | |
tree | 8509416ed13df465d6ce5491eb1e3b3163c92fa7 /src | |
parent | 13eaf2c049cf56bf29b22d6ed68d579ae1dae08f (diff) | |
download | xine-lib-f23f3f0026c54a6c9f7d45367690bc461fc79290.tar.gz xine-lib-f23f3f0026c54a6c9f7d45367690bc461fc79290.tar.bz2 |
Newer libcdio's have a free() that older ones don't.
CVS patchset: 7551
CVS date: 2005/05/20 02:01:35
Diffstat (limited to 'src')
-rw-r--r-- | src/input/vcd/xineplug_inp_vcd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index 1fbda9508..92609b9e9 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.37 2005/04/27 23:28:42 rockyb Exp $ + $Id: xineplug_inp_vcd.c,v 1.38 2005/05/20 02:01:35 rockyb Exp $ Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> @@ -62,6 +62,7 @@ #include <cdio/logging.h> #include <cdio/iso9660.h> #include <cdio/cd_types.h> +#include <cdio/version.h> /* libvcd includes */ #include <libvcd/files.h> @@ -181,7 +182,9 @@ vcd_get_default_device(vcd_input_class_t *class, bool log_msg_if_fail) } class->vcd_device = strdup(cd_drives[0]); cdio_free_device_list(cd_drives); +#if LIBCDIO_VERSION_NUM <= 72 free(cd_drives); +#endif } return true; } |