mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffplay: split overly long line in audio_decode_frame()
This commit is contained in:
parent
fb7688a83f
commit
0d3ffde64f
4
ffplay.c
4
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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user