Commit c7c3d423 authored by rbultje's avatar rbultje

rtpmap is case-insensitive, see comment from Luca in "[PATCH] rtsp.c:

keep-alive" thread.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17862 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f6ee28a9
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment