From 7d3829a87a7465f3effe8e0e09760882578e5a0a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 21 Nov 2010 20:42:06 +0000 Subject: Musepack SV8 supports "mono" files (though it still codes them as stereo), so extend decoder to output only one channel for it. This fixes issue 2368. Originally committed as revision 25790 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpc7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpc7.c') diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c index c5b8d47c5e..5ac25797bb 100644 --- a/libavcodec/mpc7.c +++ b/libavcodec/mpc7.c @@ -260,7 +260,7 @@ static int mpc7_decode_frame(AVCodecContext * avctx, for(ch = 0; ch < 2; ch++) idx_to_quant(c, &gb, bands[i].res[ch], c->Q[ch] + off); - ff_mpc_dequantize_and_synth(c, mb, data); + ff_mpc_dequantize_and_synth(c, mb, data, 2); av_free(bits); -- cgit v1.2.3