[FFmpeg-cvslog] ffplay: split overly long line in audio_decode_frame()

Stefano Sabatini git at videolan.org
Fri Jun 29 23:18:43 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Jun 26 16:22:22 2012 +0200| [0d3ffde64fce055f552a74c703b8917f3f101be8] | committer: Stefano Sabatini

ffplay: split overly long line in audio_decode_frame()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d3ffde64fce055f552a74c703b8917f3f101be8
---

 ffplay.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 91d1d8e..8d2e2af 100644
--- 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 ||



More information about the ffmpeg-cvslog mailing list