]> git.sesse.net Git - vlc/blobdiff - modules/audio_mixer/spdif.c
aout_BufferAlloc() : remove stack allocation
[vlc] / modules / audio_mixer / spdif.c
index 4005f831b5bd8f3109cb263a4b3a6851054e1ff6..0af800f33fc328cdbfbad2dd220512300abedc18 100644 (file)
@@ -66,7 +66,7 @@ static int Create( vlc_object_t *p_this )
     p_mixer->mix = DoWork;
     /* This is a bit kludgy - do not ask for a new buffer, since the one
      * provided by the first input will be good enough. */
-    p_mixer->allocation.i_alloc_type = AOUT_ALLOC_NONE;
+    p_mixer->allocation.b_alloc = false;
 
     return 0;
 }