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
d96b8144
Commit
d96b8144
authored
Jun 25, 2016
by
Martin Vignali
Committed by
Paul B Mahol
Jun 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/exr: add missed hunks from previous exr commit
parent
1e38791b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
exr.c
libavcodec/exr.c
+7
-0
No files found.
libavcodec/exr.c
View file @
d96b8144
...
...
@@ -980,12 +980,19 @@ static int b44_uncompress(EXRContext *s, const uint8_t *src, int compressed_size
}
target_channel_offset
+=
2
;
}
else
{
/* Float or UINT 32 channel */
if
(
stayToUncompress
<
td
->
ysize
*
td
->
xsize
*
4
)
{
av_log
(
s
,
AV_LOG_ERROR
,
"Not enough data for uncompress channel: %d"
,
stayToUncompress
);
return
AVERROR_INVALIDDATA
;
}
for
(
y
=
0
;
y
<
td
->
ysize
;
y
++
)
{
indexOut
=
target_channel_offset
*
td
->
xsize
+
y
*
td
->
channel_line_size
;
memcpy
(
&
td
->
uncompressed_data
[
indexOut
],
sr
,
td
->
xsize
*
4
);
sr
+=
td
->
xsize
*
4
;
}
target_channel_offset
+=
4
;
stayToUncompress
-=
td
->
ysize
*
td
->
xsize
*
4
;
}
}
...
...
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