mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 18:11:11 +01:00
imx: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
2f271172b0
commit
c94220e96d
1 changed files with 1 additions and 2 deletions
|
|
@ -76,8 +76,7 @@ static int simbiosis_imx_read_header(AVFormatContext *s)
|
|||
ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
ast->codecpar->codec_tag = 0;
|
||||
ast->codecpar->codec_id = AV_CODEC_ID_PCM_U8;
|
||||
ast->codecpar->channels = 1;
|
||||
ast->codecpar->channel_layout = AV_CH_LAYOUT_MONO;
|
||||
ast->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
|
||||
ast->codecpar->sample_rate = 22050;
|
||||
ast->start_time = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue