On Thu, Jan 05, 2012 at 09:55:34PM -0600, Daniel Huang wrote:
> From 9deccfbac8a2abf1a7e0dc9e6413097bc49a4247 Mon Sep 17 00:00:00 2001
> From: Daniel <[email protected]>
> Date: Thu, 5 Jan 2012 21:49:59 -0600
> Subject: [PATCH] mjpegdec.c:  K&R cosmetics cleanup

Your git is only half set up now, it's still missing your last name.

> --- a/libavcodec/mjpegdec.c
> +++ b/libavcodec/mjpegdec.c
> @@ -58,25 +58,32 @@ static int build_vlc(VLC *vlc, const uint8_t *bits_table, 
> const uint8_t *val_tab
>      for (i = 0; i < 256; i++)
>          huff_sym[i] = i + 16 * is_ac;
>  
> -    if (is_ac) huff_sym[0] = 16 * 256;
> +    if (is_ac)
> +        huff_sym[0] = 16 * 256;
>  
> -    return init_vlc_sparse(vlc, 9, nb_codes, huff_size, 1, 1, 
> +    return init_vlc_sparse(vlc, 9, nb_codes, huff_size, 1, 1,
>                             huff_code, 2, 2, huff_sym, 2, 2, use_static);
>  }

This is not a patch against Libav HEAD, but against the HEAD of your
own tree.  Read up on 'git commit --amend' and or 'git rebase -i'
and send a patch against Libav HEAD with all your changes, not just
some.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to