From: Vittorio Giovara <[email protected]>
Signed-off-by: Vittorio Giovara <[email protected]>
Signed-off-by: James Almer <[email protected]>
---
libavformat/yop.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavformat/yop.c b/libavformat/yop.c
index f65e4f8b16..b0aa0bb64b 100644
--- a/libavformat/yop.c
+++ b/libavformat/yop.c
@@ -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
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".