ffplay: split overly long line in audio_decode_frame()
authorStefano Sabatini <stefasab@gmail.com>
Tue, 26 Jun 2012 14:22:22 +0000 (16:22 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 29 Jun 2012 21:15:45 +0000 (23:15 +0200)
ffplay.c

index 91d1d8e..8d2e2af 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1956,7 +1956,9 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
                                                    is->frame->nb_samples,
                                                    dec->sample_fmt, 1);
 
-            dec_channel_layout = (dec->channel_layout && dec->channels == av_get_channel_layout_nb_channels(dec->channel_layout)) ? dec->channel_layout : av_get_default_channel_layout(dec->channels);
+            dec_channel_layout =
+                (dec->channel_layout && dec->channels == av_get_channel_layout_nb_channels(dec->channel_layout)) ?
+                dec->channel_layout : av_get_default_channel_layout(dec->channels);
             wanted_nb_samples = synchronize_audio(is, is->frame->nb_samples);
 
             if (dec->sample_fmt != is->audio_src.fmt ||