mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
aptxdec: convert to new channel layout API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
64f27c10ee
commit
057f237ca4
@ -42,7 +42,7 @@ static AVStream *aptx_read_header_common(AVFormatContext *s)
|
||||
return NULL;
|
||||
st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
st->codecpar->format = AV_SAMPLE_FMT_S32P;
|
||||
st->codecpar->channels = 2;
|
||||
st->codecpar->ch_layout.nb_channels = 2;
|
||||
st->codecpar->sample_rate = s1->sample_rate;
|
||||
st->start_time = 0;
|
||||
return st;
|
||||
|
Loading…
x
Reference in New Issue
Block a user