aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-02-24 23:29:42 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-02-24 23:29:42 +0100
commit394130efe32f85c1f0582094add4376e32ebf20c (patch)
treebf550d66c640dd3671f34a94fda200ecad0f0cea /ffplay.c
parenta3fa27e366cda40cf63732767f0d91bb0888df43 (diff)
downloadffmpeg-394130efe32f85c1f0582094add4376e32ebf20c.tar.gz
ffplay: reindent and remove pointless cast in audio_decode_frame() code
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 3309e4291c..5a3d1b24a1 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2131,8 +2131,8 @@ static int audio_decode_frame(VideoState *is)
0, NULL);
if (!is->swr_ctx || swr_init(is->swr_ctx) < 0) {
fprintf(stderr, "Cannot create sample rate converter for conversion of %d Hz %s %d channels to %d Hz %s %d channels!\n",
- is->frame->sample_rate, av_get_sample_fmt_name(is->frame->format), (int)is->frame->channels,
- is->audio_tgt.freq, av_get_sample_fmt_name(is->audio_tgt.fmt), is->audio_tgt.channels);
+ is->frame->sample_rate, av_get_sample_fmt_name(is->frame->format), is->frame->channels,
+ is->audio_tgt.freq, av_get_sample_fmt_name(is->audio_tgt.fmt), is->audio_tgt.channels);
break;
}
is->audio_src.channel_layout = dec_channel_layout;