mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
sgi: K&R formatting cosmetics
This commit is contained in:
parent
ca36aa9e6b
commit
a7dbfcf6cb
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* SGI image encoder
|
||||
* Xiaohui Sun <tjnksxh@hotmail.com>
|
||||
*
|
||||
|
@ -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;
|
||||
|
@ -177,7 +177,7 @@ AVCodec ff_sgi_encoder = {
|
||||
.init = encode_init,
|
||||
.encode2 = encode_frame,
|
||||
.close = encode_close,
|
||||
.pix_fmts = (const enum AVPixelFormat[]){
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA, AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user