Pekka Lampila
2007-Oct-29 18:35 UTC
[Swfdec] 2 commits - libswfdec/swfdec_sound.c libswfdec/swfdec_text_field_movie.c
libswfdec/swfdec_sound.c | 3 ++- libswfdec/swfdec_text_field_movie.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) New commits: commit e9701f52f343abd8b24a659a694585825219aaa2 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Oct 29 20:34:20 2007 +0200 Fix a stupid error I made when changing TextField code diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 13c5a75..dc2cca0 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -308,7 +308,7 @@ swfdec_text_field_movie_get_paragraphs (SwfdecTextFieldMovie *text, int *num) end = strchr (p, '\0'); swfdec_text_field_movie_generate_paragraph (text, ¶graph, - p - text->input->str, end - text->input->str); + p - text->input->str, end - p); paragraphs = g_array_append_val (paragraphs, paragraph); p = end; commit be21f00c2fb50f5e6dd6d120e035006644f6e643 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Oct 29 20:21:58 2007 +0200 Add SWFDEC_FIXME about sound envelopes diff --git a/libswfdec/swfdec_sound.c b/libswfdec/swfdec_sound.c index 64e22a3..2f3dec0 100644 --- a/libswfdec/swfdec_sound.c +++ b/libswfdec/swfdec_sound.c @@ -351,6 +351,7 @@ swfdec_sound_parse_chunk (SwfdecSwfDecoder *s, SwfdecBits *b, int id) chunk->loop_count = 1; } if (has_envelope) { + SWFDEC_FIXME ("support for sound envelopes not implemented"); chunk->n_envelopes = swfdec_bits_get_u8 (b); chunk->envelope = g_new (SwfdecSoundEnvelope, chunk->n_envelopes); SWFDEC_LOG (" n_envelopes = %u", chunk->n_envelopes); @@ -366,7 +367,7 @@ swfdec_sound_parse_chunk (SwfdecSwfDecoder *s, SwfdecBits *b, int id) if (i > 0 && chunk->envelope[i].offset < chunk->envelope[i-1].offset) { /* FIXME: figure out how to handle this */ - SWFDEC_ERROR ("sound evelope offsets not sorted"); + SWFDEC_FIXME ("sound envelope offsets not sorted"); } for (j = 0; j < 2; j++) { chunk->envelope[i].volume[j] = swfdec_bits_get_u16 (b);
Possibly Parallel Threads
- 5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_audio.c libswfdec/swfdec_sound.c libswfdec/swfdec_xml.c
- 2 commits - libswfdec/swfdec_sound.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie_html.c
- 3 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_sound.c
- 12 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_frame.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_shape_parser.c libswfdec/swfdec_sound.c test/sound
- 9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c