提交 1bd9fb6d 编写于 作者: T Timo Rothenpieler

ffplay: Fix usage of private lavfi API

Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 6c841e03
......@@ -2725,7 +2725,7 @@ static int stream_component_open(VideoState *is, int stream_index)
goto fail;
link = is->out_audio_filter->inputs[0];
sample_rate = link->sample_rate;
nb_channels = link->channels;
nb_channels = avfilter_link_get_channels(link);
channel_layout = link->channel_layout;
}
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册