[FFmpeg-cvslog] r20829 - in trunk/libavutil: avstring.c avstring.h avutil.h

Diego Biurrun diego
Sun Dec 13 23:22:31 CET 2009


On Sun, Dec 13, 2009 at 06:09:41PM +0100, michael wrote:
> 
> --- trunk/libavutil/avstring.c	Sun Dec 13 17:20:00 2009	(r20828)
> +++ trunk/libavutil/avstring.c	Sun Dec 13 18:09:41 2009	(r20829)
> @@ -76,3 +76,9 @@ size_t av_strlcatf(char *dst, size_t siz
> +
> +char *av_d2str(double d){
> +    char *str= av_malloc(16);
> +    if(str) snprintf(str, 16, "%f", d);
> +    return str;
> +}

This file had nice, consistent K&R style before you messed it up with
this commit.

I must say that I cannot shake the impression that you do not apply
many of the rules of this project to yourself.

Diego



More information about the ffmpeg-cvslog mailing list