search for: parse_skip

Displaying 3 results from an estimated 3 matches for "parse_skip".

Did you mean: parse_sexp
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...end_message (SwfdecPlayerManager *manager, - SwfdecMessageType type, char *format, ...) + SwfdecMessageType type, const char *format, ...) { va_list args; char *msg; @@ -332,7 +332,7 @@ swfdec_player_manager_continue (SwfdecPl /*** commands ***/ -const char * +static const char * parse_skip (const char *input) { g_assert (input); @@ -341,7 +341,7 @@ parse_skip (const char *input) return input; } -const char * +static const char * parse_string (const char *input, char **output) { const char *start = input; @@ -358,7 +358,7 @@ parse_string (const char *input, char ** r...
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...handle NULL input when converting args diff --git a/player/swfdec_player_manager.c b/player/swfdec_player_manager.c index 82d55ed..31e9772 100644 --- a/player/swfdec_player_manager.c +++ b/player/swfdec_player_manager.c @@ -325,6 +325,7 @@ swfdec_player_manager_send_message (Swfd const char * parse_skip (const char *input) { + g_assert (input); if (g_ascii_isspace (*input)) input++; return input; @@ -336,6 +337,8 @@ parse_string (const char *input, char ** const char *start = input; g_assert (output); + if (input == NULL) + return NULL; while (*input && !g_asc...
2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...fdec_player_manager_output(manager, ...) \ - swfdec_player_manager_send_message (manager, SWFDEC_MESSAGE_OUTPUT, __VA_ARGS__) -#define swfdec_player_manager_error(manager, ...) \ - swfdec_player_manager_send_message (manager, SWFDEC_MESSAGE_ERROR, __VA_ARGS__) +/*** commands ***/ const char * parse_skip (const char *input) diff-tree ce1244ddd18afd0ce1b83999304ac5b9282c7564 (from 5e9b7d35d8857e9eb5377b28205ec1ba1bba6ea0) Author: Benjamin Otte <otte@gnome.org> Date: Tue Mar 6 13:02:49 2007 +0100 Add swfdec_scriptable_(can_)execute - swfdec_scriptable_can_execute checks if a pro...