diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-29 11:15:39 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-29 12:53:01 +0200 |
commit | 1bd9fb6de59bb96144ece914643d2d205818168d (patch) | |
tree | 2cc391d0a7f4c36039da1e3ea90ead554855ec4e /ffplay.c | |
parent | 6c841e03cebadc566a2c59a4891377eeb9ff03e9 (diff) | |
download | ffmpeg-1bd9fb6de59bb96144ece914643d2d205818168d.tar.gz |
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |