[FFmpeg-cvslog] ffplay: fix wrong reference to function in audio_decode_frame() comment
Stefano Sabatini
git at videolan.org
Fri Jun 29 13:25:53 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jun 28 23:47:06 2012 +0200| [46747182032af6c3dfeb8a32b7c88cda88bb12be] | committer: Stefano Sabatini
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46747182032af6c3dfeb8a32b7c88cda88bb12be
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index ab4eae5..6d7d289 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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)) {
More information about the ffmpeg-cvslog
mailing list