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
a337cb73
Commit
a337cb73
authored
Jul 12, 2016
by
Rostislav Pehlivanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diracdec: fix #coeffs -> byte conversion
Signed-off-by:
Rostislav Pehlivanov
<
atomnuker@gmail.com
>
parent
df1dc521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
diracdec.c
libavcodec/diracdec.c
+2
-2
No files found.
libavcodec/diracdec.c
View file @
a337cb73
...
...
@@ -854,8 +854,8 @@ static int decode_hq_slice(DiracContext *s, DiracSlice *slice, uint8_t *tmp_buf)
length
,
tmp_buf
,
coef_num
);
if
(
coef_num
>
coef_par
)
{
const
int
start_b
=
coef_par
*
(
4
>>
s
->
pshift
);
const
int
end_b
=
coef_num
*
(
4
>>
s
->
pshift
);
const
int
start_b
=
coef_par
*
(
1
<<
(
s
->
pshift
+
1
)
);
const
int
end_b
=
coef_num
*
(
1
<<
(
s
->
pshift
+
1
)
);
memset
(
&
tmp_buf
[
start_b
],
0
,
end_b
-
start_b
);
}
...
...
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