summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/yop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yop.c b/libavformat/yop.c
index 58e31acad8..8f140ceaa6 100644
--- a/libavformat/yop.c
+++ b/libavformat/yop.c
@@ -82,7 +82,7 @@ static int yop_read_header(AVFormatContext *s)
audio_dec->codec_type = AVMEDIA_TYPE_AUDIO;
audio_dec->codec_id = AV_CODEC_ID_ADPCM_IMA_APC;
audio_dec->channels = 1;
- audio_dec->channels = AV_CH_LAYOUT_MONO;
+ audio_dec->channel_layout = AV_CH_LAYOUT_MONO;
audio_dec->sample_rate = 22050;
// Video