diff options
author | Martin Storsjö <martin@martin.st> | 2012-12-30 18:53:35 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-12-31 13:39:06 +0200 |
commit | c76daa89ab91ebbd9e29d289d207bf88213255ae (patch) | |
tree | 0e3dec814fb85c65231aaad54abc0142d573c964 | |
parent | 506409776c49910050f3150d0e51d11b44d323ed (diff) | |
download | ffmpeg-c76daa89ab91ebbd9e29d289d207bf88213255ae.tar.gz |
rtmp: Return a proper error code in handle_invoke_error
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 8924fb3c19..4e059d6674 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -1533,7 +1533,7 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt) level = AV_LOG_WARNING; ret = 0; } else - ret = -1; + ret = AVERROR_UNKNOWN; av_log(s, level, "Server error: %s\n", tmpstr); } |