[FFmpeg-cvslog] r19156 - in trunk/libavformat: id3v1.c id3v2.c

Aurelien Jacobs aurel
Thu Jun 11 22:33:51 CEST 2009


On Thu, Jun 11, 2009 at 05:35:23PM +0200, diego wrote:
> Author: diego
> Date: Thu Jun 11 17:35:23 2009
> New Revision: 19156
> 
> Log:
> cosmetics: Reformat to K&R and prettyprint newly created files.
> 
> [...]
> 
> Modified: trunk/libavformat/id3v2.c
> ==============================================================================
> --- trunk/libavformat/id3v2.c	Thu Jun 11 17:26:57 2009	(r19155)
> +++ trunk/libavformat/id3v2.c	Thu Jun 11 17:35:23 2009	(r19156)
> @@ -25,24 +25,24 @@
>  
>  int ff_id3v2_match(const uint8_t *buf)
>  {
> -    return  buf[0] == 'I' &&
> -            buf[1] == 'D' &&
> -            buf[2] == '3' &&
> -            buf[3] != 0xff &&
> -            buf[4] != 0xff &&
> -            (buf[6] & 0x80) == 0 &&
> -            (buf[7] & 0x80) == 0 &&
> -            (buf[8] & 0x80) == 0 &&
> -            (buf[9] & 0x80) == 0;
> +    return  buf[0]         ==  'I' &&
> +            buf[1]         ==  'D' &&
> +            buf[2]         ==  '3' &&
> +            buf[3]         != 0xff &&
> +            buf[4]         != 0xff &&
> +           (buf[6] & 0x80) ==    0 &&
> +           (buf[7] & 0x80) ==    0 &&
> +           (buf[8] & 0x80) ==    0 &&
> +           (buf[9] & 0x80) == 0;
                               ^^^^^^^
Strange (non-)alignment here...

Aurel



More information about the ffmpeg-cvslog mailing list