test/testresample.c
changeset 3018 d706d3170d7d
parent 3017 3272431eeee2
child 3040 62d4992e5a92
--- a/test/testresample.c	Sun Jan 11 04:05:28 2009 +0000
+++ b/test/testresample.c	Sun Jan 11 04:29:36 2009 +0000
@@ -90,8 +90,8 @@
     SDL_WriteLE16(io, blockalign);  /* block align */
     SDL_WriteLE16(io, bitsize);  /* significant bits per sample */
     SDL_WriteLE32(io, 0x61746164);  /* data */
-    SDL_WriteLE32(io, len * cvt.len_mult);  /* size */
-    SDL_RWwrite(io, cvt.buf, len * cvt.len_mult, 1);
+    SDL_WriteLE32(io, cvt.len_cvt);  /* size */
+    SDL_RWwrite(io, cvt.buf, cvt.len_cvt, 1);
 
     if (SDL_RWclose(io) == -1)
     {