aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sgidec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-03-13 15:20:00 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-01 01:13:18 +0200
commita7dbfcf6cb6ab8a8981d74332fd02fb90360d22f (patch)
treefcd1340f6a1f2ff1fa32e17b0c01996c53a0dde9 /libavcodec/sgidec.c
parentca36aa9e6b8f2fed15478245ad533fc594a35c37 (diff)
downloadffmpeg-a7dbfcf6cb6ab8a8981d74332fd02fb90360d22f.tar.gz
sgi: K&R formatting cosmetics
Diffstat (limited to 'libavcodec/sgidec.c')
-rw-r--r--libavcodec/sgidec.c4
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;