diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-13 18:20:00 +0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-01 03:13:18 +0400 |
commit | a7dbfcf6cb6ab8a8981d74332fd02fb90360d22f (patch) | |
tree | fcd1340f6a1f2ff1fa32e17b0c01996c53a0dde9 /libavcodec/sgidec.c | |
parent | ca36aa9e6b8f2fed15478245ad533fc594a35c37 (diff) |
sgi: K&R formatting cosmetics
Diffstat (limited to 'libavcodec/sgidec.c')
-rw-r--r-- | libavcodec/sgidec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |