mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
flic: 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
e5818ab328
commit
ce5165f8ad
@ -157,10 +157,9 @@ static int flic_read_header(AVFormatContext *s)
|
||||
ast->codecpar->codec_id = AV_CODEC_ID_PCM_U8;
|
||||
ast->codecpar->codec_tag = 0;
|
||||
ast->codecpar->sample_rate = FLIC_TFTD_SAMPLE_RATE;
|
||||
ast->codecpar->channels = 1;
|
||||
ast->codecpar->bit_rate = st->codecpar->sample_rate * 8;
|
||||
ast->codecpar->bits_per_coded_sample = 8;
|
||||
ast->codecpar->channel_layout = AV_CH_LAYOUT_MONO;
|
||||
ast->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
|
||||
ast->codecpar->extradata_size = 0;
|
||||
|
||||
/* Since the header information is incorrect we have to figure out the
|
||||
|
Loading…
Reference in New Issue
Block a user