Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
04e12496
Commit
04e12496
authored
Dec 08, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iff: drop ff_ prefix from a static function.
parent
9221c0af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
iff.c
libavcodec/iff.c
+3
-3
No files found.
libavcodec/iff.c
View file @
04e12496
...
...
@@ -120,7 +120,7 @@ static av_always_inline uint32_t gray2rgb(const uint32_t x) {
/**
* Convert CMAP buffer (stored in extradata) to lavc palette format
*/
static
int
ff_
cmap_read_palette
(
AVCodecContext
*
avctx
,
uint32_t
*
pal
)
static
int
cmap_read_palette
(
AVCodecContext
*
avctx
,
uint32_t
*
pal
)
{
int
count
,
i
;
...
...
@@ -265,7 +265,7 @@ static int decode_frame_ilbm(AVCodecContext *avctx,
av_log
(
avctx
,
AV_LOG_ERROR
,
"get_buffer() failed
\n
"
);
return
res
;
}
else
if
(
avctx
->
bits_per_coded_sample
<=
8
&&
avctx
->
pix_fmt
!=
AV_PIX_FMT_GRAY8
)
{
if
((
res
=
ff_
cmap_read_palette
(
avctx
,
(
uint32_t
*
)
s
->
frame
.
data
[
1
]))
<
0
)
if
((
res
=
cmap_read_palette
(
avctx
,
(
uint32_t
*
)
s
->
frame
.
data
[
1
]))
<
0
)
return
res
;
}
s
->
init
=
1
;
...
...
@@ -322,7 +322,7 @@ static int decode_frame_byterun1(AVCodecContext *avctx,
av_log
(
avctx
,
AV_LOG_ERROR
,
"get_buffer() failed
\n
"
);
return
res
;
}
else
if
(
avctx
->
bits_per_coded_sample
<=
8
&&
avctx
->
pix_fmt
!=
AV_PIX_FMT_GRAY8
)
{
if
((
res
=
ff_
cmap_read_palette
(
avctx
,
(
uint32_t
*
)
s
->
frame
.
data
[
1
]))
<
0
)
if
((
res
=
cmap_read_palette
(
avctx
,
(
uint32_t
*
)
s
->
frame
.
data
[
1
]))
<
0
)
return
res
;
}
s
->
init
=
1
;
...
...
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