rtmp: Return a proper error code in handle_invoke_error

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/8/head
Martin Storsjö 12 years ago
parent 506409776c
commit c76daa89ab
  1. 2
      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);
}

Loading…
Cancel
Save