On 05/09/2012 03:13 AM, Anton Khirnov wrote: > This would happen at least when lavr is used as a fifo with no > conversion. > --- > libavresample/utils.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavresample/utils.c b/libavresample/utils.c > index e533760..6d4509d 100644 > --- a/libavresample/utils.c > +++ b/libavresample/utils.c > @@ -375,7 +375,8 @@ int avresample_convert(AVAudioResampleContext *avr, void > **output, > } > } > > - return handle_buffered_output(avr, &output_buffer, current_buffer); > + return handle_buffered_output(avr, output ? &output_buffer : NULL, > + current_buffer); > } > > int avresample_available(AVAudioResampleContext *avr)
LGTM -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
