mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02: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…
x
Reference in New Issue
Block a user