[FFmpeg-cvslog] ffplay: Fix usage of private lavfi API
Timo Rothenpieler
git at videolan.org
Thu Jun 30 05:02:09 CEST 2016
ffmpeg | branch: release/3.0 | Timo Rothenpieler <timo at rothenpieler.org> | Wed Jun 29 11:15:39 2016 +0200| [bffe1c42220f0f5622239c365df06db8bd141504] | committer: James Almer
ffplay: Fix usage of private lavfi API
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 1bd9fb6de59bb96144ece914643d2d205818168d)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bffe1c42220f0f5622239c365df06db8bd141504
---
ffplay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffplay.c b/ffplay.c
index 2cfdf26..3df0d4d 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2730,7 +2730,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
More information about the ffmpeg-cvslog
mailing list