[FFmpeg-cvslog] nellymoserdec: set channels to 1

Justin Ruggles git at videolan.org
Fri Nov 2 14:32:41 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Oct 22 17:58:24 2012 -0400| [d26701ce2f3504e2ee341251448db3af6328a69b] | committer: Justin Ruggles

nellymoserdec: set channels to 1

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d26701ce2f3504e2ee341251448db3af6328a69b
---

 libavcodec/nellymoserdec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c
index fce184a..f17e9fd 100644
--- a/libavcodec/nellymoserdec.c
+++ b/libavcodec/nellymoserdec.c
@@ -129,6 +129,7 @@ static av_cold int decode_init(AVCodecContext * avctx) {
     if (!ff_sine_128[127])
         ff_init_ff_sine_windows(7);
 
+    avctx->channels       = 1;
     avctx->channel_layout = AV_CH_LAYOUT_MONO;
 
     avcodec_get_frame_defaults(&s->frame);



More information about the ffmpeg-cvslog mailing list