diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-19 11:23:40 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-19 11:23:40 +0000 |
commit | 9d900dc3bd3681900528f0b12e1add06d1d44687 (patch) | |
tree | 105a5a7ea30e5643ed97d4fd94bb429052cf5342 /src | |
parent | c503a99ab4f6676caef59dc41a4fb35d6e0566e8 (diff) | |
download | xine-lib-9d900dc3bd3681900528f0b12e1add06d1d44687.tar.gz xine-lib-9d900dc3bd3681900528f0b12e1add06d1d44687.tar.bz2 |
- memset not needed any more
- tweak language output
CVS patchset: 2708
CVS date: 2002/09/19 11:23:40
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_dvd.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index 48250d330..28164349f 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.86 2002/09/18 10:03:07 jcdutton Exp $ + * $Id: input_dvd.c,v 1.87 2002/09/19 11:23:40 mroi Exp $ * */ @@ -385,10 +385,6 @@ static int dvdnav_plugin_open (input_plugin_t *this_gen, const char *mrl) { char *intended_dvd_device; xine_cfg_entry_t region_entry, lang_entry, cache_entry; - memset(®ion_entry, 0, sizeof(xine_cfg_entry_t)); - memset(&lang_entry, 0, sizeof(xine_cfg_entry_t)); - memset(&cache_entry, 0, sizeof(xine_cfg_entry_t)); - trace_print("Called\n"); /* printf("input_dvd: open1: dvdnav=%p opened=%d\n",this->dvdnav, this->opened); */ @@ -1277,7 +1273,7 @@ static int dvdnav_plugin_get_optional_data (input_plugin_t *this_gen, if(this && this->xine && this->dvdnav) { if(!(dvdnav_is_domain_vts(this->dvdnav))) { - sprintf(data, "%s", "nav"); + sprintf(data, "%s", "menu"); goto __audio_success; } @@ -1316,7 +1312,7 @@ static int dvdnav_plugin_get_optional_data (input_plugin_t *this_gen, if(this && this->xine && this->dvdnav) { if(!(dvdnav_is_domain_vts(this->dvdnav))) { - sprintf(data, "%3s", "none"); + sprintf(data, "%s", "none"); goto __spu_success; } @@ -1340,7 +1336,7 @@ static int dvdnav_plugin_get_optional_data (input_plugin_t *this_gen, else { channel = xine_get_spu_channel(this->xine); if(channel == -1) - sprintf(data, "%3s", "none"); + sprintf(data, "%s", "none"); else sprintf(data, "%3i", channel); } @@ -1551,6 +1547,10 @@ static void *init_input_plugin (xine_t *xine, void *data) { /* * $Log: input_dvd.c,v $ + * Revision 1.87 2002/09/19 11:23:40 mroi + * - memset not needed any more + * - tweak language output + * * Revision 1.86 2002/09/18 10:03:07 jcdutton * Fix a seg fault. * |