[FFmpeg-soc] [soc]: r4293 - libavfilter/vsrc_movie.c

Diego Biurrun diego at biurrun.de
Sat May 23 01:22:03 CEST 2009


On Sat, May 23, 2009 at 01:17:19AM +0200, stefano wrote:
> 
> Log:
> Cosmetics: put braces in the same line as the corresponding if/while
> condition.
> Consistent with K&R and the FFmpeg code style.
> 
> --- libavfilter/vsrc_movie.c	Sat May 23 01:13:25 2009	(r4292)
> +++ libavfilter/vsrc_movie.c	Sat May 23 01:17:19 2009	(r4293)
> @@ -198,17 +198,14 @@ int movie_get_frame(AVFilterLink *link)
>  
> -    while(av_read_frame(mv->format_ctx, &packet)>=0)
> -    {
> +    while(av_read_frame(mv->format_ctx, &packet)>=0) {

K&R puts a space between if/for/while/switch and '('.

Diego


More information about the FFmpeg-soc mailing list