projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce52869
)
rtsp: Interpret the text media type as AVMEDIA_TYPE_DATA
author
Martin Storsjö
<martin@martin.st>
Mon, 23 Feb 2015 15:16:32 +0000
(17:16 +0200)
committer
Martin Storsjö
<martin@martin.st>
Tue, 24 Feb 2015 14:19:37 +0000
(16:19 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
77f6eb2
..
20e380a
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-393,7
+393,7
@@
static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
codec_type = AVMEDIA_TYPE_AUDIO;
} else if (!strcmp(st_type, "video")) {
codec_type = AVMEDIA_TYPE_VIDEO;
- } else if (!strcmp(st_type, "application")) {
+ } else if (!strcmp(st_type, "application")
|| !strcmp(st_type, "text")
) {
codec_type = AVMEDIA_TYPE_DATA;
}
if (codec_type == AVMEDIA_TYPE_UNKNOWN || !(rt->media_type_mask & (1 << codec_type))) {