diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-29 11:15:39 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-06-29 22:49:58 -0300 |
commit | bffe1c42220f0f5622239c365df06db8bd141504 (patch) | |
tree | b06b766b18b54fbb9b6ec5067781870ad03824a9 /ffplay.c | |
parent | fbdf5ca763f05bdd52c402be947bb2b2755a09c9 (diff) | |
download | ffmpeg-bffe1c42220f0f5622239c365df06db8bd141504.tar.gz |
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1bd9fb6de59bb96144ece914643d2d205818168d)
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2730,7 +2730,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 |