rtmpproto: Ignore errors from the getStreamLength method
authorMartin Storsjö <martin@martin.st>
Tue, 4 Nov 2014 07:23:35 +0000 (09:23 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 5 Nov 2014 07:18:22 +0000 (09:18 +0200)
commita490391157dcf4dc6b65352ec3eea2781dd0a404
tree79b00b4e60439c9cb7d3cd28ab66d635cc4d01dd
parent4ff670d99bebd97429322719089363d83143477d
rtmpproto: Ignore errors from the getStreamLength method

It is never an error if this method failed. If rt->live was
explicitly set to 0 (known to be a recorded file), print it
as a warning, otherwise print it as a debug message.

Based on a patch by Michael Niedermayer.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c