search for: swfdec_content_find

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

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
..._hash_table_destroy (sprite->live_content); + sprite->live_content = NULL; + } if (sprite->frames) { for (i = 0; i < sprite->n_frames; i++) { g_free (sprite->frames[i].label); @@ -123,39 +127,7 @@ swfdec_sprite_add_sound_chunk (SwfdecSpr static SwfdecContent * swfdec_content_find (SwfdecSprite *sprite, int depth) { - guint i, j; - SwfdecContent *content; - static unsigned long long int count = 0; - - if (++count % 10000 == 0) - g_print ("%llu\n", count); - - for (i = sprite->parse_frame; i <= sprite->parse_frame /* wait for underflow */; i--) { -...
2007 Apr 05
0
4 commits - libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_stream.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_mad.c
...Apr 5 17:00:21 2007 +0200 fix depth in debugging message diff --git a/libswfdec/swfdec_sprite.c b/libswfdec/swfdec_sprite.c index 1c6a43f..7bb3629 100644 --- a/libswfdec/swfdec_sprite.c +++ b/libswfdec/swfdec_sprite.c @@ -292,7 +292,7 @@ swfdec_contents_create (SwfdecSprite *sp copy = swfdec_content_find (sprite, depth); if (copy == NULL) { - SWFDEC_WARNING ("Couldn't copy depth %u in frame %u", depth, sprite->parse_frame); + SWFDEC_WARNING ("Couldn't copy depth %d in frame %u", (depth + 16384), sprite->parse_frame); } else { *content = *...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...IO_OUT_GRANULARITY (sprite->frames[frame].sound_head->original_format); } -/* find the last action in this depth if it exists */ -/* NB: we look in the current frame, too - so call this before adding actions - * that might modify the frame you're looking for */ -static SwfdecContent * -swfdec_content_find (SwfdecSprite *sprite, int depth) -{ - return g_hash_table_lookup (sprite->live_content, GINT_TO_POINTER (depth)); -} - -static void -swfdec_content_update_lifetime (SwfdecSprite *sprite, - SwfdecSpriteActionType type, gpointer data) -{ - SwfdecContent *content; - int depth; - switch (typ...