[FFmpeg-devel] [PATCH] ffplay: fix reference to function in audio_resample() comment
Marton Balint
cus at passwd.hu
Fri Jun 29 21:23:01 CEST 2012
On Fri, 29 Jun 2012, Stefano Sabatini wrote:
> The comment references swr_convert(), rather that audio_convert() (which
> was deprecated or dropped).
> ---
> ffplay.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
LGTM, thanks.
>
> diff --git a/ffplay.c b/ffplay.c
> index 6f30d78..7e857a0 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -2007,7 +2007,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
> len2 = swr_convert(is->swr_ctx, out, sizeof(is->audio_buf2) / is->audio_tgt.channels / av_get_bytes_per_sample(is->audio_tgt.fmt),
> in, is->frame->nb_samples);
> if (len2 < 0) {
> - fprintf(stderr, "audio_resample() failed\n");
> + fprintf(stderr, "swr_convert() failed\n");
> break;
> }
> if (len2 == sizeof(is->audio_buf2) / is->audio_tgt.channels / av_get_bytes_per_sample(is->audio_tgt.fmt)) {
> --
> 1.7.5.4
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list