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
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to