[vlc-commits] Use decoder_NewAudioBuffer()

Rémi Denis-Courmont git at videolan.org
Mon Sep 5 21:50:48 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Sep  5 22:45:25 2011 +0300| [6cdef6722f008ba5ba0c94c15cc293a745ebe7ff] | committer: Rémi Denis-Courmont

Use decoder_NewAudioBuffer()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cdef6722f008ba5ba0c94c15cc293a745ebe7ff
---

 modules/codec/wmafixed/wma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/wmafixed/wma.c b/modules/codec/wmafixed/wma.c
index d322aa6..8c73c2f 100644
--- a/modules/codec/wmafixed/wma.c
+++ b/modules/codec/wmafixed/wma.c
@@ -98,7 +98,7 @@ static aout_buffer_t *SplitBuffer( decoder_t *p_dec )
 
     if( i_samples == 0 ) return NULL;
 
-    if( !( p_buffer = p_dec->pf_aout_buffer_new( p_dec, i_samples ) ) )
+    if( !( p_buffer = decoder_NewAudioBuffer( p_dec, i_samples ) ) )
         return NULL;
 
     p_buffer->i_pts = date_Get( &p_sys->end_date );



More information about the vlc-commits mailing list