From 462209fe10b0bdcc25b21239cdabad7c0c74cfd4 Mon Sep 17 00:00:00 2001 From: Andrea Gianarro Date: Mon, 9 Oct 2006 11:36:42 +0000 Subject: [PATCH] fix AC3 5.1 being decoded as mono patch by Andrea Gianarro % giandrea AH gmail P com % Original thread: Date: Oct 9, 2006 11:55 AM Subject: [Ffmpeg-devel] AC3 5:1 decoding as mono Originally committed as revision 6598 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 40b1b6731d..092c460738 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -464,7 +464,7 @@ static const AVOption options[]={ {"g", "set the group of picture size", OFFSET(gop_size), FF_OPT_TYPE_INT, 12, INT_MIN, INT_MAX, V|E}, {"rate_emu", NULL, OFFSET(rate_emu), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"ar", "set audio sampling rate (in Hz)", OFFSET(sample_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, -{"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, 1, INT_MIN, INT_MAX}, +{"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E}, {"frame_size", NULL, OFFSET(frame_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E}, {"frame_number", NULL, OFFSET(frame_number), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},