--- libavcodec/g2meet.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c index ddd7a1f..a995724 100644 --- a/libavcodec/g2meet.c +++ b/libavcodec/g2meet.c @@ -28,11 +28,12 @@ #include <zlib.h> #include "libavutil/intreadwrite.h" + #include "avcodec.h" #include "blockdsp.h" #include "bytestream.h" -#include "idctdsp.h" #include "get_bits.h" +#include "idctdsp.h" #include "internal.h" #include "jpegtables.h" #include "mjpeg.h" @@ -263,7 +264,8 @@ static int jpg_decode_data(JPGContext *c, int width, int height, for (i = 0; i < 3; i++) c->prev_dc[i] = 1024; - bx = by = 0; + bx = + by = 0; c->bdsp.clear_blocks(c->block[0]); for (mb_y = 0; mb_y < mb_h; mb_y++) { for (mb_x = 0; mb_x < mb_w; mb_x++) { @@ -326,10 +328,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)) -- 2.1.0 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel