Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2990:905bf0c5da8c | 2991:4591452ec78c |
---|---|
197 #define PREROLL_TIME 3100 | 197 #define PREROLL_TIME 3100 |
198 | 198 |
199 static void put_guid(ByteIOContext *s, const GUID *g) | 199 static void put_guid(ByteIOContext *s, const GUID *g) |
200 { | 200 { |
201 assert(sizeof(*g) == 16); | 201 assert(sizeof(*g) == 16); |
202 put_buffer(s, g, sizeof(*g)); | 202 put_buffer(s, *g, sizeof(*g)); |
203 } | 203 } |
204 | 204 |
205 static void put_str16_nolen(ByteIOContext *s, const char *tag); | 205 static void put_str16_nolen(ByteIOContext *s, const char *tag); |
206 static void put_str16(ByteIOContext *s, const char *tag) | 206 static void put_str16(ByteIOContext *s, const char *tag) |
207 { | 207 { |