From: Jiangjie Gao
1. ref https://trac.ffmpeg.org/ticket/9782.
2. just check `codec_type`.
3. remove `pos > 10`, we have AVFormatContext::probesize.
Signed-off-by: Jiangjie Gao
---
libavformat/mpegts.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/libavformat/m
From: Jiangjie Gao
And forward it to udp.
issue: https://trac.ffmpeg.org/ticket/7517
Signed-off-by: Jiangjie Gao
---
libavformat/rtsp.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 9a2933346e..25bdf475b3 100644
--- a/liba
From: Jiangjie Gao
Signed-off-by: Jiangjie Gao
---
libavformat/rtsp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 9a2933346e..29ee0b317f 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2510,8 +2510,9 @@ static
From: Jiangjie Gao
---
libavutil/time.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/libavutil/time.c b/libavutil/time.c
index 740afc4785..dd04870983 100644
--- a/libavutil/time.c
+++ b/libavutil/time.c
@@ -90,7 +90,16 @@ int av_usleep(unsigned usec)
#elif HAV