mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
tools/uncoded_frame: remove usage of avfilter_link_get_channels()
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
798dcf2432
commit
01c21653ee
@ -178,7 +178,7 @@ int main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
st->stream->codec->channel_layout = st->link->channel_layout;
|
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_rate = st->link->sample_rate;
|
||||||
st->stream->codec->sample_fmt = st->link->format;
|
st->stream->codec->sample_fmt = st->link->format;
|
||||||
st->stream->codec->codec_id =
|
st->stream->codec->codec_id =
|
||||||
|
Loading…
Reference in New Issue
Block a user