[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.123,1.124

Rich Felker dalias
Sun Mar 12 21:02:52 CET 2006


On Sun, Mar 12, 2006 at 02:38:59PM +0100, Baptiste Coudurier CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavformat
> In directory mail:/var2/tmp/cvs-serv26124/libavformat
> 
> Modified Files:
> 	mov.c 
> Log Message:
> fix conversion types in dprintf
> 
> Index: mov.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
> retrieving revision 1.123
> retrieving revision 1.124
> diff -u -d -r1.123 -r1.124
> --- mov.c	11 Mar 2006 18:43:10 -0000	1.123
> +++ mov.c	12 Mar 2006 13:38:56 -0000	1.124
> @@ -439,7 +439,7 @@
>          }
>          total_size += 8;
>          a.offset += 8;
> -        dprintf("type: %08x  %.4s  sz: %Lx  %Lx   %Lx\n", a.type, (char*)&a.type, a.size, atom.size, total_size);
> +        dprintf("type: %08x  %.4s  sz: %PRIx64  %PRIx64   %PRIx64\n", a.type, (char*)&a.type, a.size, atom.size, total_size);

WTF? You're missing some quotes, without which this code is horribly
broken... Did you test it?

Rich





More information about the ffmpeg-cvslog mailing list