diff asf-enc.c @ 2991:4591452ec78c libavformat

typo, typedef uint8_t GUID[16] in asf.h, and fix warning: asf-enc.c:202: warning: passing argument 2 of 'put_buffer' from incompatible pointer type
author bcoudurier
date Thu, 31 Jan 2008 00:34:22 +0000
parents dafc142ae2e2
children 57baf1166899
line wrap: on
line diff
--- a/asf-enc.c	Thu Jan 31 00:27:51 2008 +0000
+++ b/asf-enc.c	Thu Jan 31 00:34:22 2008 +0000
@@ -199,7 +199,7 @@
 static void put_guid(ByteIOContext *s, const GUID *g)
 {
     assert(sizeof(*g) == 16);
-    put_buffer(s, g, sizeof(*g));
+    put_buffer(s, *g, sizeof(*g));
 }
 
 static void put_str16_nolen(ByteIOContext *s, const char *tag);