Browse code

Change default number of channels (used if unspecified in the format desc) from 2 to 1, which is the actual value used in the spec. Fixes issue1978.

Path by John Wimer <john at god dot vtic dot net>.

Originally committed as revision 23414 to svn://svn.ffmpeg.org/ffmpeg/trunk

Ronald S. Bultje authored on 2010/06/02 05:00:26
Showing 1 changed files
... ...
@@ -52,7 +52,7 @@ enum RTSPTransport {
52 52
 #define RTSP_DEFAULT_PORT   554
53 53
 #define RTSP_MAX_TRANSPORTS 8
54 54
 #define RTSP_TCP_MAX_PACKET_SIZE 1472
55
-#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2
55
+#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 1
56 56
 #define RTSP_DEFAULT_AUDIO_SAMPLERATE 44100
57 57
 #define RTSP_RTP_PORT_MIN 5000
58 58
 #define RTSP_RTP_PORT_MAX 10000