mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
smush: 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
c77897f41d
commit
360fac0045
@ -178,8 +178,7 @@ static int smush_read_header(AVFormatContext *ctx)
|
||||
ast->codecpar->codec_id = AV_CODEC_ID_ADPCM_VIMA;
|
||||
ast->codecpar->codec_tag = 0;
|
||||
ast->codecpar->sample_rate = sample_rate;
|
||||
ast->codecpar->channels = channels;
|
||||
|
||||
ast->codecpar->ch_layout.nb_channels = channels;
|
||||
avpriv_set_pts_info(ast, 64, 1, ast->codecpar->sample_rate);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user