changeset 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 905bf0c5da8c
children 0cdcc2b1a272
files asf-enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);