[FFmpeg-soc] [soc]: r5789 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Tue May 11 16:40:10 CEST 2010
Author: spyfeng
Date: Tue May 11 16:40:10 2010
New Revision: 5789
Log:
return error code when send function failed.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Tue May 11 16:34:04 2010 (r5788)
+++ mms/mmst.c Tue May 11 16:40:10 2010 (r5789)
@@ -358,9 +358,10 @@ static int mms_safe_send_recv(MMSContext
{
MMSSCPacketType type;
if(send_fun) {
- if (send_fun(mms) < 0) {
+ int ret = send_fun(mms);
+ if (ret < 0) {
dprintf(NULL, "Send Packet error before expecting recv packet %d\n", expect_type);
- return -1;
+ return ret;
}
}
if((type = get_tcp_server_response(mms)) != expect_type) {
More information about the FFmpeg-soc
mailing list