[FFmpeg-cvslog] r16452 - trunk/libavformat/metadata.c

Aurelien Jacobs aurel
Tue Jan 6 16:06:07 CET 2009


On Tue, 6 Jan 2009 15:52:54 +0100
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> On Tue, Jan 06, 2009 at 01:56:21PM +0100, aurel wrote:
> > Modified: trunk/libavformat/metadata.c
> > ==============================================================================
> > --- trunk/libavformat/metadata.c	Tue Jan  6 13:51:35 2009	(r16451)
> > +++ trunk/libavformat/metadata.c	Tue Jan  6 13:56:21 2009	(r16452)
> > @@ -84,7 +84,7 @@ int av_metadata_set(AVMetadata **pm, AVM
> >  #define FILL_METADATA_INT(s, key) {                                           \
> >      char number[10];                                                          \
> >      snprintf(number, sizeof(number), "%d", s->key);                           \
> > -    FILL_METADATA(s, key, number) }
> > +    if(s->key)  FILL_METADATA(s, key, number) }
> 
> Why two spaces?

Why not...
When I write a statement on the same line as a if(), I generally use
at least 2 spaces to separate them.
But I don't really care. Feel free to change it to whatever you want.

Aurel




More information about the ffmpeg-cvslog mailing list