[vlc-devel] commit: Remove never used function ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Sep 7 23:24:37 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep 8 00:23:39 2009 +0300| [9c7124125dcbd95925764e1effb888f22f66dd4a] | committer: Rémi Denis-Courmont
Remove never used function
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c7124125dcbd95925764e1effb888f22f66dd4a
---
modules/stream_out/transcode.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/modules/stream_out/transcode.c b/modules/stream_out/transcode.c
index f324d41..ee71c03 100644
--- a/modules/stream_out/transcode.c
+++ b/modules/stream_out/transcode.c
@@ -1344,12 +1344,6 @@ static int transcode_audio_process( sout_stream_t *p_stream,
return VLC_SUCCESS;
}
-static void audio_release_buffer( aout_buffer_t *p_buffer )
-{
- if( p_buffer && p_buffer->p_sys ) block_Release( p_buffer->p_sys );
- free( p_buffer );
-}
-
static aout_buffer_t *audio_new_buffer( decoder_t *p_dec, int i_samples )
{
aout_buffer_t *p_buffer;
@@ -1375,7 +1369,6 @@ static aout_buffer_t *audio_new_buffer( decoder_t *p_dec, int i_samples )
p_buffer = malloc( sizeof(aout_buffer_t) );
if( !p_buffer ) return NULL;
p_buffer->b_discontinuity = false;
- p_buffer->pf_release = audio_release_buffer;
p_buffer->p_sys = p_block = block_New( p_dec, i_size );
p_buffer->p_buffer = p_block->p_buffer;
More information about the vlc-devel
mailing list