[FFmpeg-cvslog] r11684 - trunk/libavformat/asf-enc.c

Diego Biurrun diego
Thu Jan 31 09:17:25 CET 2008


On Thu, Jan 31, 2008 at 01:34:23AM +0100, bcoudurier wrote:
> 
> Log:
> 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
> 
> --- trunk/libavformat/asf-enc.c	(original)
> +++ trunk/libavformat/asf-enc.c	Thu Jan 31 01:34:22 2008
> @@ -199,7 +199,7 @@ static const AVCodecTag codec_asf_bmp_ta
>  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));
>  }

This seems to have been a real bug as well.

Diego




More information about the ffmpeg-cvslog mailing list