mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
moflex: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
847e6393ac
commit
3654db79f4
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ static int moflex_read_sync(AVFormatContext *s)
|
|||
st->codecpar->width = width;
|
||||
st->codecpar->height = height;
|
||||
st->codecpar->sample_rate= sample_rate;
|
||||
st->codecpar->channels = channels;
|
||||
st->codecpar->ch_layout.nb_channels = channels;
|
||||
st->priv_data = av_packet_alloc();
|
||||
if (!st->priv_data)
|
||||
return AVERROR(ENOMEM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue