On 01/08/2013 09:40 AM, Anton Khirnov wrote:
> + out= ff_get_audio_buffer(outlink, nb_samples);
space before =
> + if (!out) {
> ret = AVERROR(ENOMEM);
> goto fail;
> }
>
> - ret = avresample_convert(s->avr, buf_out->extended_data,
> - buf_out->linesize[0], nb_samples,
> - buf->extended_data, buf->linesize[0],
> - buf->audio->nb_samples);
> + ret = avresample_convert(s->avr, out->extended_data,
> + out->linesize[0], nb_samples,
> + in->extended_data, in->linesize[0],
> + in->nb_samples);
can you go ahead and fix the spacing while you're at it?
patch looks ok otherwise.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel