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
d24eb9a3
Commit
d24eb9a3
authored
Jun 04, 2016
by
Martin Vignali
Committed by
Paul B Mahol
Jun 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/exr: indent the if (layer_match) part
parent
753088a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
exr.c
libavcodec/exr.c
+17
-17
No files found.
libavcodec/exr.c
View file @
d24eb9a3
...
...
@@ -1348,23 +1348,23 @@ static int decode_header(EXRContext *s)
}
if
(
layer_match
)
{
/* only search channel if the layer match is valid */
if
(
!
strcmp
(
ch_gb
.
buffer
,
"R"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"X"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"U"
))
channel_index
=
0
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"G"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"Y"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"V"
))
channel_index
=
1
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"B"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"Z"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"W"
))
channel_index
=
2
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"A"
))
channel_index
=
3
;
else
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Unsupported channel %.256s.
\n
"
,
ch_gb
.
buffer
);
if
(
!
strcmp
(
ch_gb
.
buffer
,
"R"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"X"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"U"
))
channel_index
=
0
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"G"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"Y"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"V"
))
channel_index
=
1
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"B"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"Z"
)
||
!
strcmp
(
ch_gb
.
buffer
,
"W"
))
channel_index
=
2
;
else
if
(
!
strcmp
(
ch_gb
.
buffer
,
"A"
))
channel_index
=
3
;
else
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Unsupported channel %.256s.
\n
"
,
ch_gb
.
buffer
);
}
/* skip until you get a 0 */
...
...
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