X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/c23a0e77dd492d6c794f89dbff3a438c95745e70..c6792275f43cdf1fc42f1cf4bd37c4595b048180:/libavformat/rtsp.c diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 6fd34cd..e7dc3dd 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -398,7 +398,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; } else if (!strcmp(st_type, "text")) { codec_type = AVMEDIA_TYPE_SUBTITLE;