aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-06-29 11:15:39 +0200
committerJames Almer <jamrial@gmail.com>2016-06-29 22:49:58 -0300
commitbffe1c42220f0f5622239c365df06db8bd141504 (patch)
treeb06b766b18b54fbb9b6ec5067781870ad03824a9 /ffplay.c
parentfbdf5ca763f05bdd52c402be947bb2b2755a09c9 (diff)
downloadffmpeg-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 2cfdf26ee9..3df0d4dd72 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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