git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c841e0
)
ffplay: Fix usage of private lavfi API
author
Timo Rothenpieler
<timo@rothenpieler.org>
Wed, 29 Jun 2016 09:15:39 +0000
(11:15 +0200)
committer
Timo Rothenpieler
<timo@rothenpieler.org>
Wed, 29 Jun 2016 10:53:01 +0000
(12:53 +0200)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
f28e087
..
b0702eb
100644
(file)
--- 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