mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 18:02:11 +00:00
avformat/rtsp: Support mode field of Transport header being sent in upper case
Fixes server compatibility issues with rtspclientsink GStreamer plugin Signed-off-by: Paul Orlyk <paul.orlyk@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
0e20146db0
commit
57648ee091
@ -1012,8 +1012,8 @@ static void rtsp_parse_transport(AVFormatContext *s,
|
||||
if (*p == '=') {
|
||||
p++;
|
||||
get_word_sep(buf, sizeof(buf), ";, ", &p);
|
||||
if (!strcmp(buf, "record") ||
|
||||
!strcmp(buf, "receive"))
|
||||
if (!av_strcasecmp(buf, "record") ||
|
||||
!av_strcasecmp(buf, "receive"))
|
||||
th->mode_record = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user