aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-06-29 11:15:39 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2016-06-29 12:59:19 +0200
commitcd427a9d07e8b08486a33f174e645f4c3051a985 (patch)
tree5dd593311fd9dc4b62e03f9f5801be3af7252018
parent8fd56690774b7e91ca248e049782db0028c8275e (diff)
downloadffmpeg-cd427a9d07e8b08486a33f174e645f4c3051a985.tar.gz
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index f28e0877cd..b0702ebeb0 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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