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
1f0c6075
Commit
1f0c6075
authored
Jun 06, 2013
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4xm: drop pointless assert
Make sure the value of wlog2 is always between 0 and 3.
parent
b8b80990
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
4xm.c
libavcodec/4xm.c
+2
-2
No files found.
libavcodec/4xm.c
View file @
1f0c6075
...
...
@@ -327,7 +327,7 @@ static inline void mcdc(uint16_t *dst, uint16_t *src, int log2w,
}
break
;
default:
assert
(
0
)
;
break
;
}
}
...
...
@@ -343,7 +343,7 @@ static int decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src,
uint16_t
*
end
=
start
+
stride
*
(
f
->
avctx
->
height
-
h
+
1
)
-
(
1
<<
log2w
);
int
ret
;
if
(
code
<
0
||
code
>
6
)
if
(
code
<
0
||
code
>
6
||
log2w
<
0
)
return
AVERROR_INVALIDDATA
;
if
(
code
==
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