[MPlayer-cvslog] r27083 - trunk/libmpdemux/demuxer.c
diego
subversion at mplayerhq.hu
Mon Jun 16 12:50:53 CEST 2008
Author: diego
Date: Mon Jun 16 12:50:53 2008
New Revision: 27083
Log:
cosmetics: Remove all trailing whitespace.
Modified:
trunk/libmpdemux/demuxer.c
Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c (original)
+++ trunk/libmpdemux/demuxer.c Mon Jun 16 12:50:53 2008
@@ -1066,7 +1066,7 @@ int demux_info_add(demuxer_t *demuxer, c
return 0;
}
}
-
+
info = demuxer->info = (char**)realloc(info,(2*(n+2))*sizeof(char*));
info[2*n] = strdup(opt);
info[2*n+1] = strdup(param);
@@ -1132,7 +1132,7 @@ double demuxer_get_time_length(demuxer_t
else if (sh_audio && sh_audio->i_bps)
get_time_ans = (double)(demuxer->movi_end-demuxer->movi_start)/sh_audio->i_bps;
else
- get_time_ans=0;
+ get_time_ans=0;
}
return get_time_ans;
}
@@ -1228,7 +1228,7 @@ int demuxer_add_chapter(demuxer_t *demux
}
/**
- * \brief demuxer_seek_chapter() seeks to a chapter in two possible ways:
+ * \brief demuxer_seek_chapter() seeks to a chapter in two possible ways:
* either using the demuxer->chapters structure set by the demuxer
* or asking help to the stream layer (e.g. dvd)
* \param chapter - chapter number wished - 0-based
@@ -1365,7 +1365,7 @@ char *demuxer_chapter_display_name(demux
if (chapter_name) {
char *tmp = malloc(strlen(chapter_name) + 14);
snprintf(tmp, 63, "(%d) %s", chapter + 1, chapter_name);
- free(chapter_name);
+ free(chapter_name);
return tmp;
} else {
int chapter_num = demuxer_chapter_count(demuxer);
More information about the MPlayer-cvslog
mailing list