[Swfdec] libswfdec/swfdec_sprite_movie.c

Benjamin Otte company at kemper.freedesktop.org
Wed Sep 5 10:31:39 PDT 2007


 libswfdec/swfdec_sprite_movie.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 49049ba4180c1ee8491bb69c395cc2c5e8fff09e (from ee9db6970aac060ebf4b94358c75b58220b9a226)
Author: Benjamin Otte <otte at gnome.org>
Date:   Wed Sep 5 19:29:44 2007 +0200

    use the right frame when creating an audio stream

diff --git a/libswfdec/swfdec_sprite_movie.c b/libswfdec/swfdec_sprite_movie.c
index 6152535..8658bd3 100644
--- a/libswfdec/swfdec_sprite_movie.c
+++ b/libswfdec/swfdec_sprite_movie.c
@@ -618,7 +618,7 @@ new_decoder:
 
   if (current->sound_block) {
     movie->sound_stream = swfdec_audio_stream_new (player, 
-	movie->sprite, movie->frame);
+	movie->sprite, movie->frame - 1);
     movie->sound_frame = movie->frame;
   }
   return TRUE;


More information about the Swfdec mailing list