[FFmpeg-soc] [soc]: r5811 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Sun May 23 05:24:01 CEST 2010
Author: spyfeng
Date: Sun May 23 05:24:00 2010
New Revision: 5811
Log:
use err instead of ret as returned value in mms_open().
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Fri May 21 18:36:57 2010 (r5810)
+++ mms/mmst.c Sun May 23 05:24:00 2010 (r5811)
@@ -568,8 +568,7 @@ static int mms_open(URLContext *h, const
int port;
char tcpname[256];
- int err = AVERROR(EIO);
- int ret;
+ int err;
h->is_streamed = 1;
mms = h->priv_data = av_mallocz(sizeof(MMSContext));
@@ -609,8 +608,8 @@ static int mms_open(URLContext *h, const
goto fail;
} else {
if((mms->incoming_flags == 0X08) || (mms->incoming_flags == 0X0C)) {
- ret = asf_header_parser(mms);
- if (ret < 0) {
+ err = asf_header_parser(mms);
+ if (err) {
dprintf(NULL, "asf header parsed failed!\n");
goto fail;
}
More information about the FFmpeg-soc
mailing list