aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-01-05 17:49:27 -0300
committerJames Almer <jamrial@gmail.com>2018-01-05 17:49:27 -0300
commit01c21653eee53a353ae887a47cd2b48165902383 (patch)
treeaec627da8d661b9f51d69f955849dc32e7f30ce0
parent798dcf2432999f449c76c0e0fe2d7a4ee5eabbc2 (diff)
downloadffmpeg-01c21653eee53a353ae887a47cd2b48165902383.tar.gz
tools/uncoded_frame: remove usage of avfilter_link_get_channels()
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--tools/uncoded_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c
index 3ca2ba4bbe..c044741701 100644
--- a/tools/uncoded_frame.c
+++ b/tools/uncoded_frame.c
@@ -178,7 +178,7 @@ int main(int argc, char **argv)
break;
case AVMEDIA_TYPE_AUDIO:
st->stream->codec->channel_layout = st->link->channel_layout;
- st->stream->codec->channels = avfilter_link_get_channels(st->link);
+ st->stream->codec->channels = st->link->channels;
st->stream->codec->sample_rate = st->link->sample_rate;
st->stream->codec->sample_fmt = st->link->format;
st->stream->codec->codec_id =