[FFmpeg-soc] [soc]: r5687 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Sat Mar 20 16:12:28 CET 2010
Author: spyfeng
Date: Sat Mar 20 16:12:28 2010
New Revision: 5687
Log:
remove temp value "err" in ff_mms_open_coonection().
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Sat Mar 20 15:46:33 2010 (r5686)
+++ mms/mmst.c Sat Mar 20 16:12:28 2010 (r5687)
@@ -136,13 +136,10 @@ static void close_connection(MMSContext
static int ff_mms_open_connection(MMSContext *mms)
{
char tcpname[256];
- int err;
close_connection(mms);
-
snprintf(tcpname, sizeof(tcpname), "tcp://%s:%d", mms->host, mms->port);
- err = url_open(&mms->mms_hd, tcpname, URL_RDWR);
- return err;
+ return url_open(&mms->mms_hd, tcpname, URL_RDWR);
}
/** Create MMST command packet header */
More information about the FFmpeg-soc
mailing list