diff options
author | Tim Champagne <tchamp@users.sourceforge.net> | 2003-05-26 17:00:11 +0000 |
---|---|---|
committer | Tim Champagne <tchamp@users.sourceforge.net> | 2003-05-26 17:00:11 +0000 |
commit | 04efc58c21ec343998bb65c3a653698e6be901ff (patch) | |
tree | 02d576e6dc8e7f60911b2daff7e9950a10da9201 /src/input/mmsh.c | |
parent | a102f5ae36dbe97bccfb5151626fd7ca01f3ab1f (diff) | |
download | xine-lib-04efc58c21ec343998bb65c3a653698e6be901ff.tar.gz xine-lib-04efc58c21ec343998bb65c3a653698e6be901ff.tar.bz2 |
Get asf plugin to build in Win32. Also starting to clean up some Win32 code (more to come).
CVS patchset: 4947
CVS date: 2003/05/26 17:00:11
Diffstat (limited to 'src/input/mmsh.c')
-rw-r--r-- | src/input/mmsh.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/input/mmsh.c b/src/input/mmsh.c index ed7d7a028..2ff02a87f 100644 --- a/src/input/mmsh.c +++ b/src/input/mmsh.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mmsh.c,v 1.16 2003/04/26 13:26:28 tmattern Exp $ + * $Id: mmsh.c,v 1.17 2003/05/26 17:00:14 tchamp Exp $ * * MMS over HTTP protocol * written by Thibaut Mattern @@ -274,11 +274,11 @@ static int get_guid (unsigned char *buffer, int offset) { int i; GUID g; - g.v1 = get_32(buffer, offset); - g.v2 = get_16(buffer, offset + 4); - g.v3 = get_16(buffer, offset + 6); + g.Data1 = get_32(buffer, offset); + g.Data2 = get_16(buffer, offset + 4); + g.Data3 = get_16(buffer, offset + 6); for(i = 0; i < 8; i++) { - g.v4[i] = buffer[offset + 8 + i]; + g.Data4[i] = buffer[offset + 8 + i]; } for (i = 1; i < GUID_END; i++) { @@ -292,8 +292,9 @@ static int get_guid (unsigned char *buffer, int offset) { printf ("libmmsh: unknown GUID: 0x%x, 0x%x, 0x%x, " "{ 0x%hx, 0x%hx, 0x%hx, 0x%hx, 0x%hx, 0x%hx, 0x%hx, 0x%hx }\n", - g.v1, g.v2, g.v3, - g.v4[0], g.v4[1], g.v4[2], g.v4[3], g.v4[4], g.v4[5], g.v4[6], g.v4[7]); + g.Data1, g.Data2, g.Data3, + g.Data4[0], g.Data4[1], g.Data4[2], g.Data4[3], + g.Data4[4], g.Data4[5], g.Data4[6], g.Data4[7]); return GUID_ERROR; } |