]> git.sesse.net Git - vlc/blobdiff - include/vlc_aout.h
Remove aout_buffer_t.b_alloc (it's always true)
[vlc] / include / vlc_aout.h
index 6fd0f24480794062c32498cf239797c1fa90a72c..6fc235bf9cc8b2b3272452c6873413959b1bd85e 100644 (file)
@@ -133,7 +133,6 @@ struct aout_buffer_t
      * is the number of significative bytes in it. */
     size_t                  i_size, i_nb_bytes;
     unsigned int            i_nb_samples;
-    bool                    b_alloc;
     bool                    b_discontinuity; /* Set on discontinuity (for non pcm stream) */
     mtime_t                 start_date, end_date;
 
@@ -143,8 +142,7 @@ struct aout_buffer_t
 
 static inline void aout_BufferFree( aout_buffer_t *buffer )
 {
-    if( buffer && buffer->b_alloc )
-        free( buffer );
+    free( buffer );
 }
 
 /* Size of a frame for S/PDIF output. */