Commit 513d57cc authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'a4903911'

* commit 'a4903911':
  rtmpproto: Ignore errors from the getStreamLength method

Conflicts:
	libavformat/rtmpproto.c

See: 09711545Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 37425fcb a4903911
...@@ -1822,10 +1822,8 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt) ...@@ -1822,10 +1822,8 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt)
/* Gracefully ignore Adobe-specific historical artifact errors. */ /* Gracefully ignore Adobe-specific historical artifact errors. */
level = AV_LOG_WARNING; level = AV_LOG_WARNING;
ret = 0; ret = 0;
} else if (rt->live && } else if (tracked_method && !strcmp(tracked_method, "getStreamLength")) {
tracked_method && level = rt->live ? AV_LOG_DEBUG : AV_LOG_WARNING;
!strcmp(tracked_method, "getStreamLength")) {
level = AV_LOG_DEBUG;
ret = 0; ret = 0;
} else if (tracked_method && !strcmp(tracked_method, "connect")) { } else if (tracked_method && !strcmp(tracked_method, "connect")) {
ret = handle_connect_error(s, tmpstr); ret = handle_connect_error(s, tmpstr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment