[FFmpeg-soc] [soc]: r5720 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Sat Mar 27 03:47:52 CET 2010
Author: spyfeng
Date: Sat Mar 27 03:47:52 2010
New Revision: 5720
Log:
remove useless if() condition and commit last comment modification.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Thu Mar 25 16:30:31 2010 (r5719)
+++ mms/mmst.c Sat Mar 27 03:47:52 2010 (r5720)
@@ -26,7 +26,7 @@
#include "network.h"
#include "asf.h"
-#define LOCAL_ADDRESS 0xc0a80081 // server doesn't care about it.
+#define LOCAL_ADDRESS 0xc0a80081 // FIXME get and use correct local ip address.
#define LOCAL_PORT 1037 // as above.
/** Client to server packet types. */
typedef enum {
@@ -646,7 +646,6 @@ static int mms_read(URLContext *h, uint8
/* Since we read the header at open(), this shouldn't be possible */
assert(mms->header_parsed);
- if(mms->header_parsed) {
if (mms->asf_header_read_pos >= mms->asf_header_size
&& !mms->streaming_flag) {
dprintf(NULL, "mms_read() before play().\n");
@@ -669,7 +668,6 @@ static int mms_read(URLContext *h, uint8
}
}
result = read_mms_packet(mms, buf, size);
- }
return result;
}
More information about the FFmpeg-soc
mailing list