[Ffmpeg-cvslog] r6598 - trunk/libavcodec/utils.c

gpoirier subversion
Mon Oct 9 13:36:42 CEST 2006


Author: gpoirier
Date: Mon Oct  9 13:36:42 2006
New Revision: 6598

Modified:
   trunk/libavcodec/utils.c

Log:
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


Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	(original)
+++ trunk/libavcodec/utils.c	Mon Oct  9 13:36:42 2006
@@ -464,7 +464,7 @@
 {"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},




More information about the ffmpeg-cvslog mailing list