Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a7dbfcf6
Commit
a7dbfcf6
authored
Mar 13, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sgi: K&R formatting cosmetics
parent
ca36aa9e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
sgi.h
libavcodec/sgi.h
+1
-1
sgidec.c
libavcodec/sgidec.c
+1
-1
sgienc.c
libavcodec/sgienc.c
+1
-1
No files found.
libavcodec/sgi.h
View file @
a7dbfcf6
/*
/*
* SGI image encoder
* SGI image encoder
* Xiaohui Sun <tjnksxh@hotmail.com>
* Xiaohui Sun <tjnksxh@hotmail.com>
*
*
...
...
libavcodec/sgidec.c
View file @
a7dbfcf6
...
@@ -120,7 +120,7 @@ static int read_rle_sgi(uint8_t *out_buf, SgiState *s)
...
@@ -120,7 +120,7 @@ static int read_rle_sgi(uint8_t *out_buf, SgiState *s)
* @param s the current image state
* @param s the current image state
* @return 0 if read success, otherwise return -1.
* @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
)
SgiState
*
s
)
{
{
int
x
,
y
,
z
;
int
x
,
y
,
z
;
...
...
libavcodec/sgienc.c
View file @
a7dbfcf6
...
@@ -177,7 +177,7 @@ AVCodec ff_sgi_encoder = {
...
@@ -177,7 +177,7 @@ AVCodec ff_sgi_encoder = {
.
init
=
encode_init
,
.
init
=
encode_init
,
.
encode2
=
encode_frame
,
.
encode2
=
encode_frame
,
.
close
=
encode_close
,
.
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
AV_PIX_FMT_RGB24
,
AV_PIX_FMT_RGBA
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_NONE
},
},
};
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment