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:59:19 +0200 |
commit | cd427a9d07e8b08486a33f174e645f4c3051a985 (patch) | |
tree | 5dd593311fd9dc4b62e03f9f5801be3af7252018 | |
parent | 8fd56690774b7e91ca248e049782db0028c8275e (diff) | |
download | ffmpeg-cd427a9d07e8b08486a33f174e645f4c3051a985.tar.gz |
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
-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 |