projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5064097
)
rtmp: Return a proper error code in handle_invoke_error
author
Martin Storsjö
<martin@martin.st>
Sun, 30 Dec 2012 16:53:35 +0000
(18:53 +0200)
committer
Martin Storsjö
<martin@martin.st>
Mon, 31 Dec 2012 11:39:06 +0000
(13:39 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
8924fb3
..
4e059d6
100644
(file)
--- 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);
}