[Swfdec] libswfdec/swfdec_audio_event.c
Benjamin Otte
company at kemper.freedesktop.org
Tue Oct 30 04:34:18 PDT 2007
libswfdec/swfdec_audio_event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9ff9f7c59692d71e905abc09108b22f0b4780092
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Oct 30 11:47:55 2007 +0100
we advance gint16, not guint8
Whoops, SEGV galore ahead :o
diff --git a/libswfdec/swfdec_audio_event.c b/libswfdec/swfdec_audio_event.c
index e0e5e93..7f85974 100644
--- a/libswfdec/swfdec_audio_event.c
+++ b/libswfdec/swfdec_audio_event.c
@@ -69,7 +69,7 @@ swfdec_audio_event_render (SwfdecAudio *audio, gint16* dest,
swfdec_sound_buffer_render (dest, event->decoded, event->decoded_format,
loop == 0 ? NULL : event->decoded, offset, samples);
n_samples -= samples;
- dest += samples * 4;
+ dest += samples * 2;
offset = 0;
}
}
More information about the Swfdec
mailing list