mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lvf: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
51c2c6ff59
commit
190c78680d
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ static int lvf_read_header(AVFormatContext *s)
|
|||
|
||||
st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
st->codecpar->codec_tag = avio_rl16(s->pb);
|
||||
st->codecpar->channels = avio_rl16(s->pb);
|
||||
st->codecpar->ch_layout.nb_channels = avio_rl16(s->pb);
|
||||
st->codecpar->sample_rate = avio_rl16(s->pb);
|
||||
avio_skip(s->pb, 8);
|
||||
st->codecpar->bits_per_coded_sample = avio_r8(s->pb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue