1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

act: convert to new channel layout API

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Anton Khirnov
2019-05-13 11:11:26 +02:00
committed by James Almer
parent f696343d13
commit 06bc48a878

View File

@@ -88,7 +88,7 @@ static int read_header(AVFormatContext *s)
}
st->codecpar->frame_size=80;
st->codecpar->channels=1;
st->codecpar->ch_layout.nb_channels = 1;
avpriv_set_pts_info(st, 64, 1, 100);
st->codecpar->codec_id=AV_CODEC_ID_G729;