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
ac07e57c
Commit
ac07e57c
authored
Apr 12, 2016
by
Martin Vignali
Committed by
Paul B Mahol
Apr 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/exr: fix huf_decode
parent
392b0a25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
exr.c
libavcodec/exr.c
+2
-1
No files found.
libavcodec/exr.c
View file @
ac07e57c
...
@@ -520,7 +520,8 @@ static int huf_decode(const uint64_t *hcode, const HufDec *hdecod,
...
@@ -520,7 +520,8 @@ static int huf_decode(const uint64_t *hcode, const HufDec *hdecod,
uint16_t
*
outb
=
out
;
uint16_t
*
outb
=
out
;
uint16_t
*
oe
=
out
+
no
;
uint16_t
*
oe
=
out
+
no
;
const
uint8_t
*
ie
=
gb
->
buffer
+
(
nbits
+
7
)
/
8
;
// input byte size
const
uint8_t
*
ie
=
gb
->
buffer
+
(
nbits
+
7
)
/
8
;
// input byte size
uint8_t
cs
,
s
;
uint8_t
cs
;
uint16_t
s
;
int
i
,
lc
=
0
;
int
i
,
lc
=
0
;
while
(
gb
->
buffer
<
ie
)
{
while
(
gb
->
buffer
<
ie
)
{
...
...
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