Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
aa77b516
Commit
aa77b516
authored
Oct 03, 2016
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext_tx: fix a signed overflow
Change-Id: I9a08bc5da1a84c3d4b8fe2d457bb80406c0bc028
parent
42bc3a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
av1/encoder/dct.c
av1/encoder/dct.c
+1
-1
No files found.
av1/encoder/dct.c
View file @
aa77b516
...
...
@@ -1871,7 +1871,7 @@ void av1_fwd_idtx_c(const int16_t *src_diff, tran_low_t *coeff, int stride,
const
int
shift
=
bs
<
32
?
3
:
2
;
if
(
tx_type
==
IDTX
)
{
for
(
r
=
0
;
r
<
bs
;
++
r
)
{
for
(
c
=
0
;
c
<
bs
;
++
c
)
coeff
[
c
]
=
src_diff
[
c
]
<<
shift
;
for
(
c
=
0
;
c
<
bs
;
++
c
)
coeff
[
c
]
=
src_diff
[
c
]
*
(
1
<<
shift
)
;
src_diff
+=
stride
;
coeff
+=
bs
;
}
...
...
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