Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-06-29 12:15:39 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2016-06-29 13:53:01 +0300
commit1bd9fb6de59bb96144ece914643d2d205818168d (patch)
tree2cc391d0a7f4c36039da1e3ea90ead554855ec4e /ffplay.c
parent6c841e03cebadc566a2c59a4891377eeb9ff03e9 (diff)
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
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 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