Commit 01c21653 authored by James Almer's avatar James Almer

tools/uncoded_frame: remove usage of avfilter_link_get_channels()

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 798dcf24
......@@ -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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment