ffplay: fix wrong reference to function in audio_decode_frame() comment
authorStefano Sabatini <stefasab@gmail.com>
Thu, 28 Jun 2012 21:47:06 +0000 (23:47 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 29 Jun 2012 11:24:43 +0000 (13:24 +0200)
The comment now references swr_convert(), rather than audio_convert(),
which was deprecated and/or dropped.

ffplay.c

index ab4eae5..6d7d289 100644 (file)
--- 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)) {