On Fri, Mar 07, 2014 at 03:31:12PM +0100, Diego Biurrun wrote:
> ---
> libavcodec/g2meet.c | 83
> ++++++++++++++++++++++++++++++---------------------
> 1 file changed, 49 insertions(+), 34 deletions(-)
>
> diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
> index 89fafef..28bed42 100644
> --- a/libavcodec/g2meet.c
> +++ b/libavcodec/g2meet.c
> @@ -320,10 +320,14 @@ static void kempf_restore_buf(const uint8_t *src, int
> len,
>
> init_get_bits(&gb, src, len * 8);
>
> - if (npal <= 2) nb = 1;
> - else if (npal <= 4) nb = 2;
> - else if (npal <= 16) nb = 4;
> - else nb = 8;
> + if (npal <= 2)
> + nb = 1;
> + else if (npal <= 4)
> + nb = 2;
> + else if (npal <= 16)
> + nb = 4;
> + else
> + nb = 8;
>
> for (j = 0; j < height; j++, dst += stride, jpeg_tile += tile_stride) {
> if (get_bits(&gb, 8))
I'd rather leave it as it - it was kinda tabular form that makes it easier to
undertand IMO.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel