Commit 62bd7089 authored by Gildas Bazin's avatar Gildas Bazin

* src/audio_output/input.c: fixed buffer allocation bug that was triggered
   when using "in place" resamplers.
parent e035de49
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* input.c : internal management of input streams for the audio output * input.c : internal management of input streams for the audio output
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: input.c,v 1.31 2003/01/26 13:37:09 gbazin Exp $ * $Id: input.c,v 1.32 2003/02/21 22:59:38 gbazin Exp $
* *
* Authors: Christophe Massiot <massiot@via.ecp.fr> * Authors: Christophe Massiot <massiot@via.ecp.fr>
* *
...@@ -178,7 +178,6 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input ) ...@@ -178,7 +178,6 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
p_input->i_resampling_type = AOUT_RESAMPLING_NONE; p_input->i_resampling_type = AOUT_RESAMPLING_NONE;
p_input->input_alloc.i_alloc_type = AOUT_ALLOC_HEAP; p_input->input_alloc.i_alloc_type = AOUT_ALLOC_HEAP;
p_input->input_alloc.i_bytes_per_sec = -1;
aout_FiltersHintBuffers( p_aout, p_input->pp_filters, aout_FiltersHintBuffers( p_aout, p_input->pp_filters,
p_input->i_nb_filters, p_input->i_nb_filters,
&p_input->input_alloc ); &p_input->input_alloc );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment