From a7dbfcf6cb6ab8a8981d74332fd02fb90360d22f Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Thu, 13 Mar 2014 15:20:00 +0100 Subject: sgi: K&R formatting cosmetics --- libavcodec/sgidec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/sgidec.c') diff --git a/libavcodec/sgidec.c b/libavcodec/sgidec.c index b25b41f988..91b68eb9f7 100644 --- a/libavcodec/sgidec.c +++ b/libavcodec/sgidec.c @@ -94,7 +94,7 @@ static int read_rle_sgi(uint8_t *out_buf, SgiState *s) unsigned int start_offset; /* size of RLE offset and length tables */ - if (len * 2 > bytestream2_get_bytes_left(&s->g)) { + if (len * 2 > bytestream2_get_bytes_left(&s->g)) { return AVERROR_INVALIDDATA; } @@ -120,7 +120,7 @@ static int read_rle_sgi(uint8_t *out_buf, SgiState *s) * @param s the current image state * @return 0 if read success, otherwise return -1. */ -static int read_uncompressed_sgi(unsigned char* out_buf, uint8_t* out_end, +static int read_uncompressed_sgi(unsigned char *out_buf, uint8_t *out_end, SgiState *s) { int x, y, z; -- cgit v1.2.3