mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-30 03:13:18 +00:00
yop: 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
95bf5877f4
commit
bc67df697b
@ -72,8 +72,7 @@ static int yop_read_header(AVFormatContext *s)
|
||||
audio_par = audio_stream->codecpar;
|
||||
audio_par->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
audio_par->codec_id = AV_CODEC_ID_ADPCM_IMA_APC;
|
||||
audio_par->channels = 1;
|
||||
audio_par->channel_layout = AV_CH_LAYOUT_MONO;
|
||||
audio_par->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
|
||||
audio_par->sample_rate = 22050;
|
||||
|
||||
// Video
|
||||
|
Loading…
Reference in New Issue
Block a user