From 423ec777563612108aecd971b9603081b4c567f5 Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Sun, 16 Dec 2007 22:01:06 +0000 Subject: [PATCH] remove excess whitespace --- modules/codec/telx.c | 3 --- modules/demux/ps.h | 2 +- modules/misc/gtk_main.c | 1 - src/control/vlm.c | 6 ------ src/input/vlm.c | 2 +- 5 files changed, 2 insertions(+), 12 deletions(-) diff --git a/modules/codec/telx.c b/modules/codec/telx.c index 462e63de7a..1d36118d1f 100644 --- a/modules/codec/telx.c +++ b/modules/codec/telx.c @@ -183,7 +183,6 @@ static int Open( vlc_object_t *p_this ) return VLC_ENOMEM; } - memset( p_sys, 0, sizeof(decoder_sys_t) ); p_sys->i_align = 0; @@ -629,7 +628,6 @@ static subpicture_t *Decode( decoder_t *p_dec, block_t **pp_block ) dbg((p_dec, "%s\n", dbg)); } #endif - } else if ( row == 25 ) { @@ -736,4 +734,3 @@ error: block_Release( p_block ); return NULL; } - diff --git a/modules/demux/ps.h b/modules/demux/ps.h index b997f7acf8..651c7e0ec8 100644 --- a/modules/demux/ps.h +++ b/modules/demux/ps.h @@ -165,7 +165,7 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id ) /* PES packets usually contain truncated frames */ tk->fmt.b_packetized = VLC_FALSE; - if( ps_id_to_lang( p_psm , i_id ) ) + if( ps_id_to_lang( p_psm, i_id ) ) { tk->fmt.psz_language = malloc( 4 ); memcpy( tk->fmt.psz_language, ps_id_to_lang( p_psm , i_id ), 3 ); diff --git a/modules/misc/gtk_main.c b/modules/misc/gtk_main.c index 5997ee561f..d1ff165757 100644 --- a/modules/misc/gtk_main.c +++ b/modules/misc/gtk_main.c @@ -193,4 +193,3 @@ static void GtkMain( vlc_object_t *p_this ) gdk_threads_leave(); } - diff --git a/src/control/vlm.c b/src/control/vlm.c index c21dd000bd..55abdac62a 100644 --- a/src/control/vlm.c +++ b/src/control/vlm.c @@ -232,7 +232,6 @@ void libvlc_vlm_add_input( libvlc_instance_t *p_instance, char *psz_name, #undef VLM_CHANGE_CODE } - void libvlc_vlm_change_media( libvlc_instance_t *p_instance, char *psz_name, char *psz_input, char *psz_output, int i_options, char **ppsz_options, int b_enabled, int b_loop, @@ -259,7 +258,6 @@ void libvlc_vlm_change_media( libvlc_instance_t *p_instance, char *psz_name, void libvlc_vlm_play_media( libvlc_instance_t *p_instance, char *psz_name, libvlc_exception_t *p_exception ) - { vlm_t *p_vlm; int64_t id; @@ -275,7 +273,6 @@ void libvlc_vlm_play_media( libvlc_instance_t *p_instance, char *psz_name, void libvlc_vlm_stop_media( libvlc_instance_t *p_instance, char *psz_name, libvlc_exception_t *p_exception ) - { vlm_t *p_vlm; int64_t id; @@ -291,7 +288,6 @@ void libvlc_vlm_stop_media( libvlc_instance_t *p_instance, char *psz_name, void libvlc_vlm_pause_media( libvlc_instance_t *p_instance, char *psz_name, libvlc_exception_t *p_exception ) - { vlm_t *p_vlm; int64_t id; @@ -307,7 +303,6 @@ void libvlc_vlm_pause_media( libvlc_instance_t *p_instance, char *psz_name, void libvlc_vlm_seek_media( libvlc_instance_t *p_instance, char *psz_name, float f_percentage, libvlc_exception_t *p_exception ) - { vlm_t *p_vlm; int64_t id; @@ -385,4 +380,3 @@ char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name, libvlc_exception_raise( p_exception, "Unable to call show %s", psz_name ); return NULL; } - diff --git a/src/input/vlm.c b/src/input/vlm.c index 819c375e24..f5fb85ef9d 100644 --- a/src/input/vlm.c +++ b/src/input/vlm.c @@ -34,7 +34,6 @@ #ifdef ENABLE_VLM - #ifdef HAVE_TIME_H # include /* ctime() */ # include /* ftime() */ @@ -867,6 +866,7 @@ error: } return VLC_EGENERIC; } + static int ExecuteNew( vlm_t *p_vlm, const char *psz_name, const char *psz_type, const int i_property, char *ppsz_property[], vlm_message_t **pp_status ) { /* Check name */ -- 2.20.1