[vlc-commits] Remove tabs in source code
vlc | branch: master | Jean-Baptiste Kempf| Thu Nov 5 10:00:01 2015 +0100| [9c9e634693b6434493442fed56ed056020808bc9] | committer: Jean-Baptiste Kempf Remove tabs in source code > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c9e634693b6434493442fed56ed056020808bc9 --- src/input/es_out_timeshift.c |2 +- src/misc/events.c|2 +- src/posix/filesystem.c |6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c index 33a965e..befc1b7 100644 --- a/src/input/es_out_timeshift.c +++ b/src/input/es_out_timeshift.c @@ -213,7 +213,7 @@ struct es_out_id_t struct es_out_sys_t { input_thread_t *p_input; - es_out_t *p_out; +es_out_t *p_out; /* Configuration */ int64_ti_tmp_size_max;/* Maximal temporary file size in byte */ diff --git a/src/misc/events.c b/src/misc/events.c index 81f901e..d924108 100644 --- a/src/misc/events.c +++ b/src/misc/events.c @@ -223,7 +223,7 @@ void vlc_event_send( vlc_event_manager_t * p_em, if( listeners_group->b_sublistener_removed ) { /* If a callback was removed inside one of our callback, this gets -* called */ + * called */ bool valid_listener; vlc_mutex_lock( _em->object_lock ); valid_listener = group_contains_listener( listeners_group, cached_listener ); diff --git a/src/posix/filesystem.c b/src/posix/filesystem.c index 9cf6876..0bced24 100644 --- a/src/posix/filesystem.c +++ b/src/posix/filesystem.c @@ -88,9 +88,9 @@ int vlc_openat (int dir, const char *filename, int flags, ...) if (fd != -1) fcntl (fd, F_SETFD, FD_CLOEXEC); #else - VLC_UNUSED (dir); - VLC_UNUSED (filename); - VLC_UNUSED (mode); +VLC_UNUSED (dir); +VLC_UNUSED (filename); +VLC_UNUSED (mode); int fd = -1; errno = ENOSYS; ___ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits
[vlc-commits] Remove tabs in source code
vlc | branch: master | Jean-Baptiste Kempf j...@videolan.org | Mon Oct 1 13:48:47 2012 +0200| [198ef1527dcf30750ae8307575c755e313962849] | committer: Jean-Baptiste Kempf Remove tabs in source code http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=198ef1527dcf30750ae8307575c755e313962849 --- modules/arm_neon/chroma_neon.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/arm_neon/chroma_neon.h b/modules/arm_neon/chroma_neon.h index e0debae..f6ef1bf 100644 --- a/modules/arm_neon/chroma_neon.h +++ b/modules/arm_neon/chroma_neon.h @@ -26,15 +26,15 @@ * inferred from the color subsampling ratio. */ struct yuv_planes { - void *y, *u, *v; - size_t pitch; +void *y, *u, *v; +size_t pitch; }; /* Packed picture buffer. Pitch is in bytes (_not_ pixels). */ struct yuv_pack { - void *yuv; - size_t pitch; +void *yuv; +size_t pitch; }; /* I420 to YUYV conversion. */ ___ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits
[vlc-commits] No tabs in source code
npapi-vlc | branch: master | Jean-Baptiste Kempf j...@videolan.org | Tue Jan 24 17:26:16 2012 +0100| [b71108098f1bd1ce8b49ca55dcc2e572bbdf1c77] | committer: Jean-Baptiste Kempf No tabs in source code http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=b71108098f1bd1ce8b49ca55dcc2e572bbdf1c77 --- npapi/support/npwin.cpp | 18 +- npapi/vlcplugin_base.cpp |2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/npapi/support/npwin.cpp b/npapi/support/npwin.cpp index d3fa906..84e3194 100644 --- a/npapi/support/npwin.cpp +++ b/npapi/support/npwin.cpp @@ -55,8 +55,8 @@ JRIGlobalRef Private_GetJavaClass(void); \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. // Private_GetJavaClass (global function) // -// Given a Java class reference (thru NPP_GetJavaClass) inform JRT -// of this class existence +// Given a Java class reference (thru NPP_GetJavaClass) inform JRT +// of this class existence // JRIGlobalRef Private_GetJavaClass(void) @@ -72,7 +72,7 @@ Private_GetJavaClass(void) //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\. \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. -// PLUGIN DLL entry points +// PLUGIN DLL entry points // // These are the Windows specific DLL entry points. They must be exported // @@ -87,7 +87,7 @@ static NPPluginFuncs* g_pluginFuncs; \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. // NP_GetEntryPoints // -// fills in the func table used by Navigator to call entry points in +// fills in the func table used by Navigator to call entry points in // plugin DLL. Note that these entry points ensure that DS is loaded // by using the NP_LOADDS macro, when compiling for Win16 // @@ -128,7 +128,7 @@ NP_GetEntryPoints(NPPluginFuncs* pFuncs) \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. // NP_Initialize // -// called immediately after the plugin DLL is loaded +// called immediately after the plugin DLL is loaded // #ifdef __MINGW32__ extern C __declspec(dllexport) NPError WINAPI @@ -167,9 +167,9 @@ NP_Initialize(NPNetscapeFuncs* pFuncs) \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. // NP_Shutdown // -// called immediately before the plugin DLL is unloaded. -// This function should check for some ref count on the dll to see if it is -// unloadable or it needs to stay in memory. +// called immediately before the plugin DLL is unloaded. +// This function should check for some ref count on the dll to see if it is +// unloadable or it needs to stay in memory. // #ifdef __MINGW32__ extern C __declspec(dllexport) NPError WINAPI @@ -188,7 +188,7 @@ NPP_GET_MIME_CONST char * NP_GetMIMEDescription() return NPP_GetMIMEDescription(); } -// END - PLUGIN DLL entry points +// END - PLUGIN DLL entry points \\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//. //\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\. diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp index 7998a12..1d9db49 100644 --- a/npapi/vlcplugin_base.cpp +++ b/npapi/vlcplugin_base.cpp @@ -334,7 +334,7 @@ void EventObj::unhook_manager( void *userdata ) { if( _em ) { - /* detach all libvlc events we cared about */ +/* detach all libvlc events we cared about */ for( size_t i = 0; i ARRAY_SIZE(vlcevents); i++ ) { libvlc_event_detach( _em, vlcevents[i].libvlc_type, ___ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits
[vlc-commits] Remove tabs in source code
vlc | branch: master | Jean-Baptiste Kempf j...@videolan.org | Wed Aug 24 16:20:39 2011 +0200| [204eaed49ad2ee19f8d5c50b1ff5fb959203e08a] | committer: Jean-Baptiste Kempf Remove tabs in source code http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=204eaed49ad2ee19f8d5c50b1ff5fb959203e08a --- src/input/info.h | 72 +++--- 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/input/info.h b/src/input/info.h index 83db8fa..e163619 100644 --- a/src/input/info.h +++ b/src/input/info.h @@ -28,32 +28,32 @@ static inline info_t *info_New(const char *name, const char *value ) { - info_t *info = malloc(sizeof(*info)); - if (!info) - return NULL; +info_t *info = malloc(sizeof(*info)); +if (!info) +return NULL; - info-psz_name = strdup(name); - info-psz_value = value ? strdup(value) : NULL; - return info; +info-psz_name = strdup(name); +info-psz_value = value ? strdup(value) : NULL; +return info; } static inline void info_Delete(info_t *i) { - free(i-psz_name); - free(i-psz_value); - free(i); +free(i-psz_name); +free(i-psz_value); +free(i); } static inline info_category_t *info_category_New(const char *name) { - info_category_t *cat = malloc(sizeof(*cat)); - if (!cat) - return NULL; - cat-psz_name = strdup(name); - cat-i_infos = 0; - cat-pp_infos = NULL; - - return cat; +info_category_t *cat = malloc(sizeof(*cat)); +if (!cat) +return NULL; +cat-psz_name = strdup(name); +cat-i_infos = 0; +cat-pp_infos = NULL; + +return cat; } static inline info_t *info_category_FindInfo(const info_category_t *cat, @@ -61,24 +61,24 @@ static inline info_t *info_category_FindInfo(const info_category_t *cat, { for (int i = 0; i cat-i_infos; i++) { if (!strcmp(cat-pp_infos[i]-psz_name, name)) { - if (index) - *index = i; - return cat-pp_infos[i]; +if (index) +*index = i; +return cat-pp_infos[i]; } } - return NULL; +return NULL; } static inline void info_category_ReplaceInfo(info_category_t *cat, info_t *info) { int index; - info_t *old = info_category_FindInfo(cat, index, info-psz_name); - if (old) { +info_t *old = info_category_FindInfo(cat, index, info-psz_name); +if (old) { info_Delete(cat-pp_infos[index]); cat-pp_infos[index] = info; } else { - INSERT_ELEM(cat-pp_infos, cat-i_infos, cat-i_infos, info); +INSERT_ELEM(cat-pp_infos, cat-i_infos, cat-i_infos, info); } } @@ -114,22 +114,22 @@ static inline info_t *info_category_AddInfo(info_category_t *cat, static inline int info_category_DeleteInfo(info_category_t *cat, const char *name) { - int index; - if (info_category_FindInfo(cat, index, name)) { - info_Delete(cat-pp_infos[index]); - REMOVE_ELEM(cat-pp_infos, cat-i_infos, index); - return VLC_SUCCESS; - } - return VLC_EGENERIC; +int index; +if (info_category_FindInfo(cat, index, name)) { +info_Delete(cat-pp_infos[index]); +REMOVE_ELEM(cat-pp_infos, cat-i_infos, index); +return VLC_SUCCESS; +} +return VLC_EGENERIC; } static inline void info_category_Delete(info_category_t *cat) { - for (int i = 0; i cat-i_infos; i++) - info_Delete(cat-pp_infos[i]); - free(cat-pp_infos); - free(cat-psz_name); - free(cat); +for (int i = 0; i cat-i_infos; i++) +info_Delete(cat-pp_infos[i]); +free(cat-pp_infos); +free(cat-psz_name); +free(cat); } #endif ___ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits