diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /stream/cdinfo.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/cdinfo.c')
-rw-r--r-- | stream/cdinfo.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stream/cdinfo.c b/stream/cdinfo.c index 4f576c98b9..6e4544d366 100644 --- a/stream/cdinfo.c +++ b/stream/cdinfo.c @@ -1,5 +1,5 @@ /* - * CD Info + * CD Info * by Bertrand Baudet <bertrand_baudet@yahoo.com> * (C) 2002, MPlayer team. */ @@ -22,15 +22,15 @@ cd_info_t* cd_info_new(void) { cd_info_t *cd_info = NULL; - + cd_info = malloc(sizeof(cd_info_t)); if( cd_info==NULL ) { mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); return NULL; } - + memset(cd_info, 0, sizeof(cd_info_t)); - + return cd_info; } @@ -54,16 +54,16 @@ cd_info_free(cd_info_t *cd_info) { cd_track_t* cd_info_add_track(cd_info_t *cd_info, char *track_name, unsigned int track_nb, unsigned int min, unsigned int sec, unsigned int msec, unsigned long frame_begin, unsigned long frame_length) { cd_track_t *cd_track; - + if( cd_info==NULL || track_name==NULL ) return NULL; - + cd_track = malloc(sizeof(cd_track_t)); if( cd_track==NULL ) { mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); return NULL; } memset(cd_track, 0, sizeof(cd_track_t)); - + cd_track->name = malloc(strlen(track_name)+1); if( cd_track->name==NULL ) { mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); @@ -86,12 +86,12 @@ cd_info_add_track(cd_info_t *cd_info, char *track_name, unsigned int track_nb, u } cd_track->prev = cd_info->last; - + cd_info->last = cd_track; cd_info->current = cd_track; cd_info->nb_tracks++; - + return cd_track; } |