summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-09-26 19:37:37 +0000
committerphintuka <phintuka>2008-09-26 19:37:37 +0000
commite647ecd53503d2382f5171fc580ad0c66ded675e (patch)
treebd2a253fac9955a7922b58dcf9c9d55c3f473efd
parenta2330c9be509a8b8f92d1884a5b452feaa74aa76 (diff)
downloadxineliboutput-e647ecd53503d2382f5171fc580ad0c66ded675e.tar.gz
xineliboutput-e647ecd53503d2382f5171fc580ad0c66ded675e.tar.bz2
int -> size_t
-rw-r--r--media_player.c6
-rw-r--r--xine_frontend_main.c27
2 files changed, 5 insertions, 28 deletions
diff --git a/media_player.c b/media_player.c
index aa9e0783..b4cf474a 100644
--- a/media_player.c
+++ b/media_player.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: media_player.c,v 1.52.2.3 2008-09-26 19:32:41 phintuka Exp $
+ * $Id: media_player.c,v 1.52.2.4 2008-09-26 19:37:37 phintuka Exp $
*
*/
@@ -91,7 +91,7 @@ cXinelibPlayer::cXinelibPlayer(const char *File, bool Queue, const char *SubFile
m_Speed = 1;
if(File) {
- int len = strlen(File);
+ size_t len = strlen(File);
if(len && File[len-1] == '/') {
// whole directory, create temporary playlist
m_Playlist.Read(File, true);
@@ -486,7 +486,7 @@ void cXinelibPlayerControl::Queue(const char *File)
OpenPlayer(File, true);
cControl::Launch(new cXinelibPlayerControl(ShowMusic, NULL));
} else {
- int len = strlen(File);
+ size_t len = strlen(File);
if(len && File[len-1] == '/')
m_Player->Playlist().Read(File, true);
else
diff --git a/xine_frontend_main.c b/xine_frontend_main.c
index 6265e5e9..3bf2a747 100644
--- a/xine_frontend_main.c
+++ b/xine_frontend_main.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_main.c,v 1.40.2.3 2008-09-26 19:20:00 phintuka Exp $
+ * $Id: xine_frontend_main.c,v 1.40.2.4 2008-09-26 19:36:01 phintuka Exp $
*
*/
@@ -17,29 +17,6 @@
#include "tools/vdrdiscovery.h"
-#if 0
-static void xine_log_cb(void *data, int section)
-{
- fprintf(stderr, "xine: log section %d\n",section);
-}
-
-static void print_xine_log(xine_t *xine)
-{
- int i, j;
- int logs = xine_get_log_section_count(xine);
- const char * const * names = xine_get_log_names(xine);
- for(i=0; i<logs; i++) {
- const char * const * lines = xine_get_log(xine, i);
- if(lines[0]) {
- printf("\nLOG: %s\n",names[i]);
- j=-1;
- while(lines[++j] && *lines[++j] )
- printf(" %2d: %s", j, lines[j]);
- }
- }
-}
-#endif
-
static void list_plugins_type(xine_t *xine, const char *msg, typeof (xine_list_audio_output_plugins) list_func)
{
static xine_t *tmp_xine = NULL;
@@ -291,7 +268,7 @@ static void SignalHandler(int signum)
static char *strcatrealloc(char *dest, const char *src)
{
- int l;
+ size_t l;
if (!src || !*src)
return dest;