mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
xmv: convert to new channel layout API
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
1e5f4f81af
commit
9fd38874ea
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ static int xmv_process_packet_header(AVFormatContext *s)
|
|||
ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
ast->codecpar->codec_id = packet->codec_id;
|
||||
ast->codecpar->codec_tag = packet->compression;
|
||||
ast->codecpar->channels = packet->channels;
|
||||
ast->codecpar->ch_layout.nb_channels = packet->channels;
|
||||
ast->codecpar->sample_rate = packet->sample_rate;
|
||||
ast->codecpar->bits_per_coded_sample = packet->bits_per_sample;
|
||||
ast->codecpar->bit_rate = packet->bit_rate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue