yop: fix 10l typo
authorPaul B Mahol <onemda@gmail.com>
Wed, 21 Nov 2012 20:15:02 +0000 (20:15 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 21 Nov 2012 20:15:02 +0000 (20:15 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/yop.c

index 58e31ac..8f140ce 100644 (file)
@@ -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