Commit 1bd9fb6d authored by Timo Rothenpieler's avatar Timo Rothenpieler

ffplay: Fix usage of private lavfi API

Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6c841e03
...@@ -2725,7 +2725,7 @@ static int stream_component_open(VideoState *is, int stream_index) ...@@ -2725,7 +2725,7 @@ static int stream_component_open(VideoState *is, int stream_index)
goto fail; goto fail;
link = is->out_audio_filter->inputs[0]; link = is->out_audio_filter->inputs[0];
sample_rate = link->sample_rate; sample_rate = link->sample_rate;
nb_channels = link->channels; nb_channels = avfilter_link_get_channels(link);
channel_layout = link->channel_layout; channel_layout = link->channel_layout;
} }
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment