diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-28 23:47:06 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-29 13:24:43 +0200 |
commit | 46747182032af6c3dfeb8a32b7c88cda88bb12be (patch) | |
tree | 092176736dfd1974fca94ca6db4505d865c59ac3 | |
parent | 491846e4be4d37938e85349b1af203675c2b8c72 (diff) | |
download | ffmpeg-46747182032af6c3dfeb8a32b7c88cda88bb12be.tar.gz |
ffplay: fix wrong reference to function in audio_decode_frame() comment
The comment now references swr_convert(), rather than audio_convert(),
which was deprecated and/or dropped.
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1999,7 +1999,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)) { |