[SCM] libav/experimental: 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

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:12:43 UTC 2013


The following commit has been merged in the experimental branch:
commit d7742a7491fe18c66f2d9da698340191739b916f
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Thu Jan 31 00:34:22 2008 +0000

    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
    
    Originally committed as revision 11684 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/asf-enc.c b/libavformat/asf-enc.c
index 5121965..a12cda1 100644
--- a/libavformat/asf-enc.c
+++ b/libavformat/asf-enc.c
@@ -199,7 +199,7 @@ static const AVCodecTag codec_asf_bmp_tags[] = {
 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list