Signed-off-by: Andrey Utkin <[email protected]>
---
libavformat/rtsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 39539e9..4c0a057 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -567,7 +567,7 @@ static void sdp_parse_line(AVFormatContext *s,
SDPParseState *s1,
// let dynamic protocol handlers have a stab at the line.
get_word(buf1, sizeof(buf1), &p);
payload_type = atoi(buf1);
- if (s1->seen_rtpmap) {
+ if (s1->seen_rtpmap || payload_type < RTP_PT_PRIVATE) {
parse_fmtp(s, rt, payload_type, buf);
} else {
s1->seen_fmtp = 1;
--
2.6.3
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel