diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 05f4171d51..91128e1309 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -418,7 +418,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") || !strcmp(st_type, "text")) { + } else if (!strcmp(st_type, "application")) { codec_type = AVMEDIA_TYPE_DATA; } else if (!strcmp(st_type, "text")) { codec_type = AVMEDIA_TYPE_SUBTITLE;