[FFmpeg-devel] [PATCH] ffplay: split overly long line in audio_decode_frame()
Marton Balint
cus at passwd.hu
Fri Jun 29 21:18:33 CEST 2012
On Thu, 28 Jun 2012, Stefano Sabatini wrote:
> ---
> ffplay.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
LGTM, thanks.
Marton
>
> diff --git a/ffplay.c b/ffplay.c
> index fd65e21..a8c9b2b 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 ||
> --
> 1.7.5.4
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list