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
b02aa3a8
Commit
b02aa3a8
authored
Nov 26, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s3tc: fix shift overflow by using unsigned constant
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
f7f892e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
s3tc.c
libavcodec/s3tc.c
+1
-1
No files found.
libavcodec/s3tc.c
View file @
b02aa3a8
...
...
@@ -28,7 +28,7 @@
static
inline
void
dxt1_decode_pixels
(
const
uint8_t
*
s
,
uint32_t
*
d
,
unsigned
int
qstride
,
unsigned
int
flag
,
uint64_t
alpha
)
{
unsigned
int
x
,
y
,
c0
,
c1
,
a
=
(
!
flag
*
255
)
<<
24
;
unsigned
int
x
,
y
,
c0
,
c1
,
a
=
(
!
flag
*
255
u
)
<<
24
;
unsigned
int
rb0
,
rb1
,
rb2
,
rb3
,
g0
,
g1
,
g2
,
g3
;
uint32_t
colors
[
4
],
pixels
;
...
...
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