]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/oss.c
i_nb_bytes -> i_buffer
[vlc] / modules / audio_output / oss.c
index cab38aa670b1792fb8cc194d287ebb9f7667fb3c..cfd610f71f08b767c6d107855fbb32304a2c51ab 100644 (file)
@@ -660,7 +660,7 @@ static void* OSSThread( vlc_object_t *p_this )
         if ( p_buffer != NULL )
         {
             p_bytes = p_buffer->p_buffer;
-            i_size = p_buffer->i_nb_bytes;
+            i_size = p_buffer->i_buffer;
             /* This is theoretical ... we'll see next iteration whether
              * we're drifting */
             next_date += p_buffer->i_length;