Mercurial > libavformat.hg
changeset 6070:ac73cfb210dc libavformat
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>.
author | rbultje |
---|---|
date | Tue, 01 Jun 2010 20:00:26 +0000 |
parents | f3000d7fad52 |
children | 72faba69143f |
files | rtsp.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.h Tue Jun 01 19:49:21 2010 +0000 +++ b/rtsp.h Tue Jun 01 20:00:26 2010 +0000 @@ -52,7 +52,7 @@ #define RTSP_DEFAULT_PORT 554 #define RTSP_MAX_TRANSPORTS 8 #define RTSP_TCP_MAX_PACKET_SIZE 1472 -#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2 +#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 1 #define RTSP_DEFAULT_AUDIO_SAMPLERATE 44100 #define RTSP_RTP_PORT_MIN 5000 #define RTSP_RTP_PORT_MAX 10000