ffmpeg | branch: release/3.1 | Timo Rothenpieler <[email protected]> | Wed Jun 29 11:15:39 2016 +0200| [cd427a9d07e8b08486a33f174e645f4c3051a985] | committer: Timo Rothenpieler
ffplay: Fix usage of private lavfi API Reviewed-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd427a9d07e8b08486a33f174e645f4c3051a985 --- ffplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index f28e087..b0702eb 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 _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
