summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-03-07 15:20:55 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-03-07 15:20:55 +0000
commit743b3890744609953fe60ce562308fb299859ace (patch)
treebd877dfa9ef60e892eac6f2b1dc4059c5ef3e5ec
parent6208d676643864f5cc0f720e6546af8767d95bfa (diff)
rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:
keep-alive" thread. Originally committed as revision 17862 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index bcc710941e..6806736ed2 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -124,7 +124,7 @@ static int sdp_parse_rtpmap(AVCodecContext *codec, RTSPStream *rtsp_st, int payl
if (payload_type >= RTP_PT_PRIVATE) {
RTPDynamicProtocolHandler *handler= RTPFirstDynamicPayloadHandler;
while(handler) {
- if (!strcmp(buf, handler->enc_name) && (codec->codec_type == handler->codec_type)) {
+ if (!strcasecmp(buf, handler->enc_name) && (codec->codec_type == handler->codec_type)) {
codec->codec_id = handler->codec_id;
rtsp_st->dynamic_handler= handler;
if(handler->open) {